CVE-2025-53372

Source
https://cve.org/CVERecord?id=CVE-2025-53372
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53372.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-53372
Aliases
Published
2025-07-08T14:54:42.419Z
Modified
2026-04-10T05:32:04.351352Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
node-code-sandbox-mcp has a Sandbox Escape via Command Injection
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53372.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

Git / github.com/alfonsograziano/node-code-sandbox-mcp

Affected ranges

Type
GIT
Repo
https://github.com/alfonsograziano/node-code-sandbox-mcp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0.0
v1.0.2
v1.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53372.json"