RCE in Alfonsograziano Node-Code-Sandbox-Mcp
CVE-2025-53372
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.010 (63.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: +0.000
Affected products
- Alfonsograziano Node-Code-Sandbox-Mcp — versions < 1.3.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2025-53372?
- CVE-2025-53372 is a high-severity vulnerability in Alfonsograziano Node-Code-Sandbox-Mcp, classified under Command Injection. CVSS score: 7.5/10. Published 2025-07-08.
- How severe is CVE-2025-53372?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-53372 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.