{"id":"CVE-2025-69256","published":"2025-12-30T19:05:24Z","modified":"2025-12-30T19:17:50Z","title":"serverless MCP Server vulnerable to command injection in list-projects tool","vendor":"serverless","product":"serverless","tier":"tail","description":{"text":"The Serverless Framework is a framework for using AWS Lambda and other managed cloud services to build applications. Starting in version 4.29.0 and prior to version 4.29.3, a command injection vulnerability exists in the Serverless Framework's built-in MCP server package (@serverless/mcp). This vulnerability only affects users of the experimental MCP server feature (serverless mcp), which represents less than 0.1% of Serverless Framework users. The core Serverless Framework CLI and deployment functionality are not affected. The vulnerability is caused by the unsanitized use of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (`|`, `>`, `&&`, etc.). Version 4.29.3 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02483,"percentile":0.84986,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/serverless/serverless/security/advisories/GHSA-rwc2-f344-q6w6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/serverless/serverless/commit/681ca039550c7169369f98780c6301a00f2dc4c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/serverless/serverless/blob/6213453da7df375aaf12fb3522ab8870488fc59a/packages/mcp/src/tools/list-projects.js#L68","tags":["x_refsource_MISC"]},{"url":"https://github.com/serverless/serverless/releases/tag/sf-core%404.29.3","tags":["x_refsource_MISC"]}],"priority":{"score":27.2,"factors":[{"name":"EPSS percentile","points":17.0},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2026-01-28","earliestUrl":"https://github.com/SimoesCTT/CTT-Serverless-RCE-v1.0---Convergent-Time-Theory-Enhanced-MCP-Exploit","repos":[{"name":"SimoesCTT/CTT-Serverless-RCE-v1.0---Convergent-Time-Theory-Enhanced-MCP-Exploit","url":"https://github.com/SimoesCTT/CTT-Serverless-RCE-v1.0---Convergent-Time-Theory-Enhanced-MCP-Exploit","stars":0,"created":"2026-01-28"},{"name":"studiomeyer-io/mcp-server-attestation","url":"https://github.com/studiomeyer-io/mcp-server-attestation","stars":0,"created":"2026-04-27"},{"name":"studiomeyer-io/mcp-stdio-shellguard","url":"https://github.com/studiomeyer-io/mcp-stdio-shellguard","stars":0,"created":"2026-05-07"}]},"first":{"date":"2026-01-28","source":"PoC-in-GitHub","url":"https://github.com/SimoesCTT/CTT-Serverless-RCE-v1.0---Convergent-Time-Theory-Enhanced-MCP-Exploit"},"provenance":"source"},"vendorSlug":"serverless","affectedVersions":[{"vendor":"serverless","product":"serverless","versions":[">= 4.29.0, < 4.29.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-12-30T19:17:30.621472Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"serverless","vulnerableRanges":[">=4.29.0, <4.29.3"],"patched":["4.29.3"],"from":["GHSA-rwc2-f344-q6w6"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-205851","exploited":false,"provenance":"source"},"summary":{"text":"The serverless Framework's experimental built-in MCP server package (@serverless/mcp), used via the serverless mcp feature in versions from 4.29.0 before 4.29.3, passes unsanitized input parameters into a child_process.exec call, where the list-projects tool builds shell command strings from user input. An attacker who can get crafted shell metacharacters into that input can run arbitrary system commands with the privileges of the MCP server process, though this requires a user to interact with the affected server and the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:37:52Z"}}