CVE-2026-5058CRITICAL 9.8EPSS p76.1%
CVE-2026-5058CVE-2026-5058
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.
Scoring
| CVSS 3.0 | 9.8 (CRITICAL) |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 1.83% probability of exploitation · percentile 76.1% · 2026-06-19T12:03:05Z |
| Published | 2026-04-11 |
| Last modified | 2026-04-13 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-78 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.