ZDI-CAN-27969: (0Day) 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.
Other sources
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 ZDI has assigned a CVSS rating of 9.8. The following CVEs are assigned: CVE-2026-5059.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27969?
The severity of ZDI-CAN-27969 is critical due to the potential for unauthenticated remote code execution.
How do I fix ZDI-CAN-27969?
To fix ZDI-CAN-27969, you should apply the latest security patches and updates provided by Amazon Web Services for aws-mcp-server.
Who is affected by ZDI-CAN-27969?
Users of the aws-mcp-server are affected by ZDI-CAN-27969.
Is authentication required to exploit ZDI-CAN-27969?
No, authentication is not required to exploit ZDI-CAN-27969.
What type of vulnerability is ZDI-CAN-27969?
ZDI-CAN-27969 is a command injection vulnerability that allows remote code execution.