CVE-2026-5059
CRITICAL 9.8CVSS 3.0aws-mcp has a Command Injection Remote Code Execution Vulnerability
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.
The 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
- 11 Apr 2026
- Last modified
- 27 Oct 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-78
- Also known as
- GHSA-fgmx-xfp3-w28pPYSEC-2026-288
- Sources
- NVDJSONOSV GHSA-fgmx-xfp3-w28pJSONOSV PYSEC-2026-288JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | aws-mcp | <= 1.7.0 |
References
- https://www.zerodayinitiative.com/advisories/ZDI-26-245/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-5059 · ADVISORY
- https://github.com/alexei-led/aws-mcp-server · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/aws-mcp/PYSEC-2026-288.yaml · WEB
- https://pypi.org/project/aws-mcp · WEB, PACKAGE
- https://github.com/advisories/GHSA-fgmx-xfp3-w28p · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Apr 2026)