CVE-2026-5059 json
aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability
published 2026-04-11 6 mo ago modified 2026-10-27 12 d ago also GHSA-fgmx-xfp3-w28p , PYSEC-2026-288 , EUVD-2026-21656
- cvss
- 9.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of aws-mcp-server. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of the allowed commands list. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the MCP server. Was ZDI-CAN-27969.
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
1.81% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | aws-mcp | <=1.7.0 |
no fix listed |
Affected products
- aws-mcp-server aws-mcp-server
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- zerodayinitiative.com /advisories/ZDI-26-245/
-
nvd.nist.gov
/vuln/detail/CVE-2026-5059
advisory
-
github.com
/alexei-led/aws-mcp-server
package
-
github.com
/pypa/advisory-database/tree/main/vulns/aws-mcp/PYSEC-2026-288.yaml
web
-
pypi.org
/project/aws-mcp
web, package
-
zerodayinitiative.com
/advisories/ZDI-26-245
web
-
github.com
/advisories/GHSA-fgmx-xfp3-w28p
advisory
Sources
- CVE List CVE-2026-5059
- GitHub Advisory GHSA-fgmx-xfp3-w28p
- NVD CVE-2026-5059
- OSV PYSEC-2026-288
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.