CVE-2026-24120: vm2: Sandbox Breakout Through Promise Species
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.10.5, the fix for CVE-2023-37466 is insufficient and can be circumvented allowing attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.10.5.
Security readout for executives and security teams
Plain-English summary
vm2 is meant to isolate untrusted Node.js code. Before 3.10.5, a prior sandbox-escape fix could be bypassed, allowing code inside the sandbox to break out and run commands on the host. This is a critical issue where exposure depends on whether an application lets attackers influence code executed through vm2.
Executive priority
Treat as urgent where vm2 processes untrusted code. A successful escape can turn a sandboxed script into host-level command execution, creating confidentiality, integrity, and availability risk.
Technical view
CVE-2026-24120 affects patriksimek/vm2 versions before 3.10.5. The advisory states the CVE-2023-37466 fix was insufficient and could be circumvented through Promise species behavior, enabling sandbox escape and arbitrary host command execution. CVSS 3.1 is 9.8 with network, low-complexity, unauthenticated, no-user-interaction characteristics.
Likely exposure
Node.js applications, services, plugins, CI systems, or internal tools using vm2 before 3.10.5 are potentially exposed, especially where vm2 runs user-controlled or third-party code.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation relevance depends on attacker access to code paths that execute supplied JavaScript inside vm2.
Researcher notes
Focus validation on reachability, not just package presence. Confirm whether attacker-controlled input can become code executed by vm2, then verify the exact loaded version at runtime and in packaged artifacts.
Mitigation direction
Upgrade vm2 to version 3.10.5 or later.
Check direct and transitive dependencies for vm2 before 3.10.5.
Rebuild and redeploy containers or bundles that include vulnerable vm2 versions.
Review GitHub, CVE, and Red Hat guidance for package-specific status.
If upgrade is blocked, seek vendor guidance before relying on compensating controls.
Validation and detection
Search package manifests and lockfiles for vm2 versions below 3.10.5.
Check SBOMs and dependency scanner output for vulnerable vm2 instances.
Confirm deployed artifacts no longer include vm2 before 3.10.5.
Review Red Hat CVE and VEX records for environment-specific applicability.
Identify whether any service executes untrusted JavaScript through vm2.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-693: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.