Skip to content
HighVulnerability

CVE-2025-53372: node-code-sandbox-mcp command injection via unsanitized input to execSync

Identifier
CVE-2025-53372
Published
Record updated
View JSON
Affected
  • node-code-sandbox-mcp <= 1.2.0
Fixed in
1.3.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

node-code-sandbox-mcp, a Node.js MCP server that runs arbitrary JavaScript in disposable Docker containers, is affected by CVE-2025-53372 in versions prior to 1.3.0. Unsanitized input parameters are passed to child_process.execSync, letting an attacker inject arbitrary system commands. Successful exploitation yields code execution under the server process's privileges on the host, bypassing the Docker sandbox.

Mitigation

Fixed in 1.3.0.