CVE-2025-53372CWE-77

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

High · published July 8, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
63.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01030 · 63.4th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-07-08T14:54Z
EPSS history
Timeline
  • 08 JUL 14:54Z
    node-code-sandbox-mcp has a Sandbox Escape via Command Injection
    cvelistv5