Skip to main content
← All vulnerabilities
CVE-2025-53372GHSA-5W57-2CCQ-8W95

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • alfonsograziano node-code-sandbox-mcp

    fixed in 1.3.0

  • node-code-sandbox-mcpnpm

    fixed in 1.3.0

References 2

GitHub · alfonsograziano/node-code-sandbox-mcp