{"id":"CVE-2026-5059","aliases":["CVE-2026-5059","GHSA-fgmx-xfp3-w28p","PYSEC-2026-288"],"related":[],"kind":"vulnerability","state":"published","title":"aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-04-11T00:15:02.920Z","modified":"2026-10-27T15:30:05.495Z","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"},{"scorer":"GitHub","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"},{"scorer":"PyPA Advisory Database","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"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.7.0"}],"ecosystem":"PyPI","package":"aws-mcp","purl":"pkg:pypi/aws-mcp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.7.0"}],"ecosystem":"PyPI","package":"aws-mcp","purl":"pkg:pypi/aws-mcp","source":"pysec"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-245/","tags":["x-research-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5059","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/alexei-led/aws-mcp-server","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/aws-mcp/PYSEC-2026-288.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/aws-mcp","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-245","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-fgmx-xfp3-w28p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"zdi","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-04-13T17:27:51.909Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5059","url":"https://www.cve.org/CVERecord?id=CVE-2026-5059","licence":"CVE Terms of Use","modified":"2026-04-13T17:30:38.053Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fgmx-xfp3-w28p","url":"https://github.com/advisories/GHSA-fgmx-xfp3-w28p","licence":"CC-BY-4.0","modified":"2026-10-27T15:30:05.495Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5059","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5059","licence":"Public domain","modified":"2026-06-17T10:58:22.543Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-288","url":"https://osv.dev/vulnerability/PYSEC-2026-288","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:49.598Z"}],"updatedAt":"2026-11-25T22:59:18.559Z","epss":{"score":0.01449,"percentile":0.74113,"date":"2026-12-01T12:00:22.000Z"}}