| Field | Value |
|---|---|
| CVE / NVD | CVE-2025-5277 |
| Date (index) | 2025-05-28 |
| Affected product (index) | aws-mcp-server |
| GHSA ID | GHSA-M4QW-J7MX-QV6H |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2025-05-28 |
| Ecosystem | Application / upstream project |
| Component | aws-mcp-server MCP server command execution path |
| EPSS score | 0.012570000 (FIRST EPSS, 2026-06-30) |
| CVSS score | 9.6 CRITICAL CVSS v3.1 (NVD) |
| CWE | CWE-78 |
| Affected versions | aws-mcp-server 0 to < 1.3.0 |
| Fixed versions | 1.3.0 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added during the 2026-05-29 missing-CVE review. Re-check NVD before using this entry for compliance reporting. |
CVE-2025-5277 tracks command injection in aws-mcp-server. An attacker can craft input that is processed by the MCP client/server flow and causes arbitrary operating-system commands to execute on the host running the affected server.
Exposure depends on whether aws-mcp-server is installed and reachable through an MCP client workflow that accepts attacker-influenced prompts or tool arguments. Treat developer workstations, CI runners, and cloud automation hosts using AWS credentials as high-value targets.
The issue is an OS command injection weakness (CWE-78) in command execution handling, where untrusted input can reach shell or process invocation without adequate neutralization.
MCP servers often run with local credentials and access to cloud CLIs. Command injection in an AWS-focused MCP server can bridge a model/tool interaction into host compromise, credential theft, or unauthorized cloud API activity.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / tag diff. Do not paste weaponized payloads.
Apply the upstream fix referenced by NVD and rotate any credentials that may have been exposed on affected hosts. Restrict aws-mcp-server to trusted users and trusted MCP clients until patched.
aws-mcp-server commit linked from NVD before adding code-level details.Public write-ups describe the command-injection class; do not host weaponized payloads in this repository.
Track NVD references for CVE-2025-5277 and apply the upstream patched release or commit recommended by the vendor/CNA.