CVE-2025-5277CWE-78

aws-mcp-server MCP server is vulnerable to command injection

Critical · published May 28, 2025

CVSS v4.0
9.4
EPSS
1%
Percentile
68.5
In the wild
Unconfirmed
What it is

🚨 A crafty command injection vulnerability lurks in the aws-mcp-server! An attacker can run arbitrary commands on your system with just a well-crafted prompt. 🔥 It's like giving a delivery driver a blank check — if they can't be trusted, they'll run wild with your bank account! The MCP client, unfortunately, trusts these prompts too easily, allowing attackers to take control before you even realize what's happening. This could lead to an attacker executing any arbitrary command on your host system, potentially stealing sensitive data, adding malicious software, or even completely taking over the server. The consequences could be absolutely devastating for your operations and security!

Put simply

It's like giving a delivery driver a blank check — if they can't be trusted, they'll run wild with your bank account! The MCP client, unfortunately, trusts these prompts too easily, allowing attackers to take control before you even realize what's happening. This command injection vulnerability allows an attacker to craft a prompt that, when processed by the MCP client, executes commands on the host machine without proper validation or authorization.

What to do

This could lead to an attacker executing any arbitrary command on your host system, potentially stealing sensitive data, adding malicious software, or even completely taking over the server. The consequences could be absolutely devastating for your operations and security! To mitigate this issue, ensure you patch to the latest version immediately. Review your configuration settings to restrict any untrusted input from reaching the MCP client, and implement strict validation checks. It's crucial to audit your server for any signs of exploitation as part of your security routine. You've got this! With these steps, you'll be well on your way to securing your system against this vulnerability! 🛡️

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS
0.01220 · 68.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-05-28T13:14Z
EPSS history
Timeline
  • 28 MAY 13:14Z
    aws-mcp-server MCP server is vulnerable to command injection
    cvelistv5