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.
History

Sat, 11 Apr 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Title aws-mcp-server Command Injection Remote Code Execution Vulnerability
Weaknesses CWE-78
References
Metrics cvssV3_0

{'score': 9.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published: 2026-04-11T00:14:52.192Z

Updated: 2026-04-11T00:14:52.192Z

Reserved: 2026-03-27T18:09:58.198Z

Link: CVE-2026-5058

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-11T01:16:18.157

Modified: 2026-04-11T01:16:18.157

Link: CVE-2026-5058

cve-icon Redhat

No data.