{"id":"CVE-2026-5059","published":"2026-04-11T00:15:02Z","modified":"2026-04-13T17:30:38Z","title":"aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability","vendor":"aws-mcp-server","product":"aws-mcp-server","tier":"tail","description":{"text":"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.\n\nThe 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01815,"percentile":0.79208,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-245/","tags":["x_research-advisory"]}],"priority":{"score":27.7,"factors":[{"name":"EPSS percentile","points":15.84},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-04-16","earliestUrl":"https://github.com/pwn0x000/CVE-2026-5059-poc","repos":[{"name":"pwn0x000/CVE-2026-5059-poc","url":"https://github.com/pwn0x000/CVE-2026-5059-poc","stars":0,"created":"2026-04-16"}]},"first":{"date":"2026-04-16","source":"PoC-in-GitHub","url":"https://github.com/pwn0x000/CVE-2026-5059-poc"},"provenance":"source"},"vendorSlug":"aws-mcp-server","affectedVersions":[{"vendor":"aws-mcp-server","product":"aws-mcp-server","versions":["1.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-13T17:27:51.909223Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aws-mcp","vulnerableRanges":["<=1.7.0"],"patched":[],"from":["GHSA-fgmx-xfp3-w28p","PYSEC-2026-288"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-21656","exploited":false,"provenance":"source"}}