{"id":"CVE-2026-5059","aliases":["PYSEC-2026-288"],"url":"https://o3.security/vulnerability/CVE-2026-5059","summary":"aws-mcp has a Command Injection Remote Code Execution Vulnerability","details":"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.","published":"2026-04-11T03:30:30Z","modified":"2026-06-29T12:26:23.117778833Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"aws-mcp","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5059"},{"type":"PACKAGE","url":"https://github.com/alexei-led/aws-mcp-server"},{"type":"WEB","url":"https://www.zerodayinitiative.com/advisories/ZDI-26-245"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-29T12:26:23.117778833Z"}}