{"answers":{"affected":"2 open source packages ship an affected version, including serverless. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69256 exists.","fix":"Upgrade serverless to 4.29.3 or later.","what":"CVE-2025-69256 is a high-severity command injection vulnerability in serverless, published on 30 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-69256 and fix it if it is affected.\n\nWhat it is: CVE-2025-69256 is a high-severity command injection vulnerability in serverless, published on 30 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69256 exists.\n\nAffected packages and fixed versions:\n- serverless (npm): affected from 4.29.0; fixed in 4.29.3\n- serverless (npm): affected from 4.29.0; fixed in 4.29.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-69256/ (Markdown: https://insights.sbomify.com/CVE-2025-69256/index.md)","id":"CVE-2025-69256","markdown":"https://insights.sbomify.com/CVE-2025-69256/index.md","name":"CVE-2025-69256","record":{"aliases":["GHSA-rwc2-f344-q6w6"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Serverless Framework MCP","requires_auth":"none","summary":"Attackers can execute arbitrary system commands via the experimental MCP server's list-projects tool, leading to remote code execution.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"serverless","vendor":"serverless"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"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 (`|`, `\u003e`, `\u0026\u0026`, etc.). Version 4.29.3 fixes the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-01-28","github_poc":3,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-28T04:32:47Z","kind":"github_poc","ref":"https://github.com/SimoesCTT/CTT-Serverless-RCE-v1.0---Convergent-Time-Theory-Enhanced-MCP-Exploit","stars":0,"title":"Serverless Framework MCP Server (CVE-2025-69256) Base Score: 9.4/10 → CTT Enhanced Score: 9.9/10  A critical command injection vulnerability in Serverless Framework's MCP (Model Context Protocol) server enhanced with CTT temporal resonance for unprecedented exploitation reliability and evasion."},{"date":"2026-04-27T20:12:08Z","kind":"github_poc","ref":"https://github.com/studiomeyer-io/mcp-server-attestation","stars":0,"title":"Layer-2 supply-chain hardening for MCP servers — Ed25519-signed tool manifests, runtime spawn-attestation, default-deny argument sanitizer. Defends against marketplace-poisoning + CVE-2025-69256 + CVE-2025-61591."},{"date":"2026-05-07T19:24:41Z","kind":"github_poc","ref":"https://github.com/studiomeyer-io/mcp-stdio-shellguard","stars":0,"title":"Defense-in-depth bundle for MCP stdio servers: drop-in guardExec/guardSpawn wrappers, AST audit CLI, reference MCP server. Closes the Ox-Security 200k-server stdio-RCE class (LiteLLM CVE-2025-69256). MIT, TypeScript, Node \u003e= 20."}],"tier":"weaponised"},"has_fix":true,"headline":"serverless MCP Server vulnerable to command injection in list-projects tool","id":"CVE-2025-69256","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":2,"n_references":4,"next":{"headline":"theshit vulnerable to unsafe loading of user-owned Python rules when running as root.","id":"CVE-2025-69257"},"packages":[{"ecosystem":"npm","fixed":["4.29.3"],"introduced":["4.29.0"],"last_affected":[],"package":"serverless","purl":null,"source":"GHSA-rwc2-f344-q6w6"},{"ecosystem":"npm","fixed":["4.29.3"],"introduced":["4.29.0"],"last_affected":[],"package":"serverless","purl":"pkg:npm/serverless","source":"GHSA-rwc2-f344-q6w6"}],"prev":{"headline":"RustFS gRPC GetMetrics deserialization panic enables remote DoS","id":"CVE-2025-69255"},"products":["serverless"],"published":"2025-12-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-30","vendors":["serverless"]},"summary":"Attackers can execute arbitrary system commands via the experimental MCP server's list-projects tool, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2025-69256/"}