mcp-cve-project

CVE-2026-5059 | aws-mcp / aws-mcp-server (command injection) | Critical | 9.8

CVE Information

Field Value
CVE / NVD CVE-2026-5059
Date (index) 2026-04-10
Affected product (index) aws-mcp / aws-mcp-server (command injection)
GHSA ID GHSA-fgmx-xfp3-w28p
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-04-11
Ecosystem Application / upstream project
Component aws-mcp / aws-mcp-server (command injection)
EPSS score 0.019080000 (FIRST EPSS, 2026-06-30)
CVSS score 9.8 CRITICAL CVSS v3.0 (NVD)
CWE CWE-78
Affected versions affected versions not yet normalized publicly
Fixed versions No fixed version listed in NVD/GitHub advisory
Fix status Unfixed
Exploit status Public CVE record

CVE Breakdown


What is the vulnerability?

Unauthenticated remote code execution is especially dangerous near cloud credentials.

Attack prerequisites / exposure

The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.

CVE is because of what bug?

AWS CLI allowed-command handling enables command injection

MCP-specific impact / why it matters

Unauthenticated remote code execution is especially dangerous near cloud credentials. The impact can extend from a single malformed input to host-level command execution.

Where was the bug? (source + snippet)

Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

The remediation tightens input handling so untrusted values cannot change the executed command or code path, typically by validating arguments and removing unsafe shell-style evaluation.

Upstream fix (open source)

Workarounds / mitigations