# CVE-2025-53372: node-code-sandbox-mcp has a Sandbox Escape via Command Injection

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-08T14:54:42.419Z
- Modified: 2026-06-17T09:38:06.713Z
- Also known as: GHSA-5w57-2ccq-8w95
- Related: CVE-2025-54073
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- alfonsograziano node-code-sandbox-mcp: < 1.3.0
- node-code-sandbox-mcp (npm): before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/alfonsograziano/node-code-sandbox-mcp/security/advisories/GHSA-5w57-2ccq-8w95> (exploit, web)
- <https://github.com/alfonsograziano/node-code-sandbox-mcp/commit/e461a74ecb189b268daac0d972c467b49b2abdd2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53372> (advisory)
- <https://github.com/alfonsograziano/node-code-sandbox-mcp/commit/a5e05fab06b20f2ce68326538c0d6cdf5512e10a> (web)
- <https://github.com/alfonsograziano/node-code-sandbox-mcp/commit/af860e2258a81ba58f4bfff7ba17e641df0e1178> (web)
- <https://github.com/alfonsograziano/node-code-sandbox-mcp> (package)

## Sources

- CVE List: [CVE-2025-53372](https://www.cve.org/CVERecord?id=CVE-2025-53372), CVE Terms of Use, modified 2025-07-08
- GitHub Advisory Database: [GHSA-5w57-2ccq-8w95](https://github.com/advisories/GHSA-5w57-2ccq-8w95), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-53372](https://nvd.nist.gov/vuln/detail/CVE-2025-53372), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53372 · Whole record: https://cve.day/CVE-2025-53372.json · Rebuilt by cve.day 2026-11-25T22:59:00.883Z
