CVE-2025-53372

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNode-code-sandbox-mcp
PublishedJul 8, 2025
First seenJul 8, 2025

How to fix

Update
  • node-code-sandbox-mcp1.3.0 or later

Affected products

ProductAffected versionsFixed in
node-code-sandbox-mcpnpmv < 1.3.01.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.