node-code-sandbox-mcp (npm) | High || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-53372 |
| EPSS score | 0.010530000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2025-07-08 |
| Affected product (index) | node-code-sandbox-mcp (npm) |
| GHSA ID | GHSA-5w57-2ccq-8w95 |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2025-07-08 |
| Ecosystem | npm |
| Component | node-code-sandbox-mcp |
| CVSS score | 7.5 HIGH CVSS v3.1 (NVD) |
| CWE | CWE-78 |
| Affected versions | < 1.3.0 |
| Fixed versions | 1.3.0 |
| Fix status | Patched |
| Exploit status | Public advisory |
Node.js Sandbox MCP Server vulnerability can lead to Sandbox Escape via Command Injection
The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.
Unsanitized input to execSync; sandbox bypass
Docker sandbox assumption can fail if host command execution is reachable. Because the vulnerable component fronts real tools and credentials, successful exploitation can cross from model-facing inputs into filesystem, shell, SaaS, or cloud actions.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The remediation tightens input handling so untrusted values cannot change the executed command or code path, typically by validating arguments and removing unsafe shell-style evaluation.
1.3.0 or later as the primary remediation.A public advisory or disclosure exists, but a direct PoC reference is not yet captured in this repository.
< 1.3.0.https://github.com/alfonsograziano/node-code-sandbox-mcp/commit/a5e05fab06b20f2ce68326538c0d6cdf5512e10a