CVE-2025-53372

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

Published Jul 8, 2025 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20505 Node.js Sandbox MCP Server vulnerability can lead to Sandbox Escape via Command Injection
Github GHSA Github GHSA GHSA-5w57-2ccq-8w95 Node.js Sandbox MCP Server vulnerability can lead to Sandbox Escape via Command Injection
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00063}

epss

{'score': 0.00073}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title node-code-sandbox-mcp has a Sandbox Escape via Command Injection
Weaknesses CWE-77
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2025, 3:08 PM
Reserved
Jun 27, 2025, 12:57 PM
Status
Deferred
Published
Jul 8, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:38 AM