Read the docs
TI-2025-33334 Aliases CVE-2025-53372GHSA-5w57-2ccq-8w95

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

Priority HIGH 68CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0103 63rd percentileScored 2026-11-07
Fix Fixed node-code-sandbox-mcp (alfonsograziano): 1.3.0node-code-sandbox-mcp (npm): 1.3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
alfonsograzianonode-code-sandbox-mcpbefore 1.3.01.3.0Patch availableCNA
—node-code-sandbox-mcp (npm)before 1.3.01.3.0Patch availableGHSA-5w57-2ccq-8w95
  • node-code-sandbox-mcp Vendoralfonsograziano Affected before 1.3.0 Fixed in 1.3.0 Patch available CNA
  • node-code-sandbox-mcp (npm) Vendor— Affected before 1.3.0 Fixed in 1.3.0 Patch available GHSA-5w57-2ccq-8w95

Remediation

  • Fix · CNA node-code-sandbox-mcp (alfonsograziano) Fixed in 1.3.0
  • Fix · GHSA-5w57-2ccq-8w95 node-code-sandbox-mcp (npm) Fixed in 1.3.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-53372
  2. 2026-10-03 Alias added: GHSA-5w57-2ccq-8w95

References

Sources