Duplicate Advisory: vm2 contains a sandbox escape vulnerability
Description
vm2 NodeVM versions prior to 3.12.1 have a critical sandbox escape vulnerability. The vulnerability arises because the denylist of dangerous built-in modules omits child_process, allowing attackers to require this module and execute arbitrary commands on the host system when NodeVM is configured with builtin:['*'] or explicitly allows child_process.
CVSS v3.1
Score 10.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vm2 NodeVM sandbox before version 3.12.1 contains a sandbox escape vulnerability due to an incomplete denylist of dangerous built-in modules. Specifically, the child_process module is not blocked, enabling attackers to require it and execute arbitrary commands on the host system if NodeVM is configured with builtin:['*'] or explicitly permits child_process. This vulnerability has a CVSS 3.1 score of 10.0, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and complete confidentiality, integrity, and availability impact. A patch is available in version 3.12.1.
Potential Impact
Successful exploitation allows an attacker to escape the NodeVM sandbox and execute arbitrary commands on the host system, leading to full compromise of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade vm2 to version 3.12.1 or later where this vulnerability is patched. Avoid configuring NodeVM with builtin:['*'] or explicitly allowing child_process until patched.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9hxx-m5g2-2q3h
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["npm"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6ac6bffc2cdf04f656829197
Added to database: 10/07/2026, 21:56:12 UTC
Last enriched: 10/07/2026, 22:13:09 UTC
Last updated: 10/07/2026, 22:13:09 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.