CVE-2026-5059CWE-78

aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability

Critical · published April 11, 2026

CVSS v3.0
9.8
EPSS
2%
Percentile
83.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02319 · 83.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-11T00:15Z
EPSS history
Timeline
  • 11 APR 00:15Z
    aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability
    cvelistv5