We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-53372

node-code-sandbox-mcp has a Sandbox Escape via Command Injection



Description

node-code-sandbox-mcp is a Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript. Prior to 1.3.0, a command injection vulnerability exists in the node-code-sandbox-mcp MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to child_process.execSync, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges on the host machine, bypassing the sandbox protection of running code inside docker. This vulnerability is fixed in 1.3.0.

Reserved 2025-06-27 | Published 2025-07-08 | Updated 2025-07-08 | Assigner GitHub_M


HIGH: 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

< 1.3.0
affected

References

github.com/...ox-mcp/security/advisories/GHSA-5w57-2ccq-8w95

github.com/...ommit/e461a74ecb189b268daac0d972c467b49b2abdd2

cve.org (CVE-2025-53372)

nvd.nist.gov (CVE-2025-53372)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-53372

Support options

Helpdesk Chat, Email, Knowledgebase