Skip to content
CriticalVulnerability

CVE-2025-5277: aws-mcp-server command injection via crafted prompts

Identifier
CVE-2025-5277
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%

Summary

CVE-2025-5277 affects the aws-mcp-server MCP server, which is vulnerable to command injection under CWE-78. An attacker can craft a prompt that, once accessed by the MCP client, runs arbitrary commands on the host system. Snyk scored it CVSS 4.0 9.4 (Critical) with no user privileges required and user interaction required; NIST had not yet provided an assessment.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.