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.09.8 (CRITICAL)
VectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS1.83% probability of exploitation · percentile 76.1% · 2026-06-19T12:03:05Z
Published2026-04-11
Last modified2026-04-13

Underlying weaknesses· 1

CWE-78

References

  1. https://www.zerodayinitiative.com/advisories/ZDI-26-246/

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-780%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-5059
CVE
CVE-2025-5277
CVE
CVE-2026-0755
CVE
CVE-2025-6514
CVE
CVE-2026-0756
CVE
CVE-2025-61492
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.