Vulnerability · Published Apr 11, 2026 · Assigned by zdi
CVE-2026-5058aws-mcp-server Command Injection Remote Code Execution Vulnerability
Critical 9.8
In plain English
A critical-severity OS command injection in aws-mcp-server from aws-mcp-server. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities).
Official description
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. 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-27968.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| aws-mcp-server | aws-mcp-server | 1.3.0 |
Weakness: CWE-78 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-26-246 x_research-advisory