CVE-2025-69256CWE-77

serverless MCP Server vulnerable to command injection in list-projects tool

High · published December 30, 2025

CVSS v3.1
7.5
EPSS
2%
Percentile
83.8
In the wild
Unconfirmed
What it is

⚠️ A minor feature, but a major risk! If you're using the experimental MCP server feature in the Serverless Framework, a sneaky command injection vulnerability is lurking beneath the surface. 🔥 Think of it like a kitchen chef who leaves the recipe card open for anyone to add their own ingredients. If the chef doesn't double-check those additions, someone might sneak in something harmful, like poison instead of spice! An attacker could exploit this vulnerability to inject arbitrary system commands, potentially leading to remote code execution with the server's privileges. This means they could take control of your server and access sensitive data or disrupt services entirely—absolutely devastating!

Put simply

Think of it like a kitchen chef who leaves the recipe card open for anyone to add their own ingredients. If the chef doesn't double-check those additions, someone might sneak in something harmful, like poison instead of spice! This vulnerability stems from unsanitized user input in the MCP server's command execution process, allowing for shell metacharacter injections that can execute harmful commands via `child_process.exec`. It's a critical flaw in versions 4.29.0 to 4.29.2 of the Serverless Framework with MCP enabled.

What to do

An attacker could exploit this vulnerability to inject arbitrary system commands, potentially leading to remote code execution with the server's privileges. This means they could take control of your server and access sensitive data or disrupt services entirely—absolutely devastating! Upgrade to Serverless Framework version 4.29.3 to patch this vulnerability immediately. Ensure that any input being passed into command-line strings is properly validated and sanitized to prevent future exploitation. Don't overlook this as it affects a specific but real use case! You've got this! Follow these steps and keep your server safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02382 · 83.8th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-12-30T19:05Z
EPSS history
Timeline
  • 30 DEC 19:05Z
    serverless MCP Server vulnerable to command injection in list-projects tool
    cvelistv5