CVE-2026-5059: aws-mcp has a Command Injection Remote Code Execution Vulnerability
Affects aws-mcpSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 27 Oct 2026, 17:57 UTC
- EPSS
- 1.9% chance of exploitation in 30 days – higher than 79% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIaws-mcp | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should monitor vendor advisories for updates. Until a fix is available, restricting network access to the aws-mcp-server and avoiding exposure to untrusted networks may reduce risk.
Description
A critical remote code execution vulnerability (CVE-2026-5059) exists in aws-mcp-server versions up to 1.7.0. The flaw is due to improper validation of user-supplied input in the allowed commands list, allowing unauthenticated attackers to execute arbitrary system commands on the server.
Reports on CVE-2026-5059
References
- nvd.nist.gov/vuln/detail/CVE-2026-5059 (opens in a new tab)
- github.com/alexei-led/aws-mcp-server (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/aws-mcp/PYSEC-2026-288.yaml (opens in a new tab)
- pypi.org/project/aws-mcp (opens in a new tab)
- zerodayinitiative.com/advisories/ZDI-26-245 (opens in a new tab)