Skip to content
HighVulnerability

CVE-2025-69256: Serverless Framework MCP server command injection via child_process.exec

Identifier
CVE-2025-69256
Published
Record updated
View JSON
Affected
  • serverless >= 4.29.0, < 4.29.3
Fixed in
4.29.3
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
2.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-69256 affects the built-in MCP server package (@serverless/mcp) of the Serverless Framework, in versions 4.29.0 up to but not including 4.29.3. The flaw is unsanitized input passed into a call to `child_process.exec`, which lets an attacker inject arbitrary system commands through shell metacharacters. Exploitation can lead to remote code execution under the server process's privileges. Only users of the experimental `serverless mcp` feature are affected, and the core CLI and deployment functionality are not.

Mitigation

Version 4.29.3 fixes the issue.