{"id":"CVE-2026-5058","aliases":["CVE-2026-5058"],"related":[],"kind":"vulnerability","state":"published","title":"aws-mcp-server Command Injection Remote Code Execution Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-04-11T00:14:52.192Z","modified":"2026-06-17T10:58:22.443Z","severity":{"scorer":"zdi","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"zdi","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"1.3.0","status":"affected"}],"vendor":"aws-mcp-server","product":"aws-mcp-server","source":"cvelist"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-246/","tags":["x-research-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"zdi","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-04-13T17:31:54.224Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5058","url":"https://www.cve.org/CVERecord?id=CVE-2026-5058","licence":"CVE Terms of Use","modified":"2026-04-13T17:32:02.375Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5058","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5058","licence":"Public domain","modified":"2026-06-17T10:58:22.443Z"}],"updatedAt":"2026-11-25T22:59:18.559Z","epss":{"score":0.01448,"percentile":0.74087,"date":"2026-12-01T12:00:22.000Z"}}