Aws-mcp-server
aws-mcp-server AWS CLI 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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- 1.3.0
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 5.4 days after publication; not in CISA KEV. First PoC: pwn0x000/CVE-2026-5059-poc (created 16 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| pwn0x000/CVE-2026-5059-poc | 16 Apr 2026 +5.4 d | 0 | PoC via PoC Index |
| venom203020/CVE-2026-5059-poc | 16 Apr 2026 +5.4 d | 0 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.