{"id":"CVE-2026-5058","published":"2026-04-11T00:14:52Z","modified":"2026-04-13T17:32:02Z","title":"aws-mcp-server Command Injection Remote Code Execution Vulnerability","vendor":"aws-mcp-server","product":"aws-mcp-server","tier":"tail","description":{"text":"aws-mcp-server 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-27968.","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.02408,"percentile":0.84807,"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-246/","tags":["x_research-advisory"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":16.96},{"name":"CVSS severity","points":6.86}]},"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:31:54.224880Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21655","exploited":false,"provenance":"source"}}