vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-284.
Summary
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| patriksimek | vm2 | before 3.11.1 | 3.11.1 | Patch available | CNA |
| — | vm2 (npm) | before 3.11.1 | 3.11.1 | Patch available | GHSA-8hg8-63c5-gwmx |
- vm2 Vendorpatriksimek Affected before 3.11.1 Fixed in 3.11.1 Patch available CNA
- vm2 (npm) Vendor— Affected before 3.11.1 Fixed in 3.11.1 Patch available GHSA-8hg8-63c5-gwmx
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* | before 3.11.1 | Vulnerable | patriksimek |
- cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* Versions before 3.11.1 Vulnerable ·patriksimek
Remediation
- Fix · CNA vm2 (patriksimek) Fixed in 3.11.1
- Fix · GHSA-8hg8-63c5-gwmx vm2 (npm) Fixed in 3.11.1 Advisory →
Red Hat 1 advisory
- RHSA-2026:50850 Released 2026-08-05 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.1 security update
- Red Hat Ansible Automation Platform 2.1 registry.redhat.io/ansible-automation-platform/automation-portal
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.1 | Fixed | RHSA-2026:50850 |
Not affected: 1 product
- Red Hat Developer Hub 1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44007
- 2026-10-03 Alias added: GHSA-8hg8-63c5-gwmx
- 2026-10-25 EPSS moved to the 50th–90th percentile
- 2026-10-27 Affected versions changed · Red Hat
- 2026-11-04 7 new references · CNA
- 2026-11-04 Weakness changed · GHSA-8hg8-63c5-gwmx
- 2026-11-04 5 new references · GHSA-8hg8-63c5-gwmx
References
Advisory 2
Other 7
- https://github.com/patriksimek/vm2/commit/46cbbdde4e19b743974c942278080231004146ca
- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-44007
- https://bugzilla.redhat.com/show_bug.cgi?id=2477198
- https://github.com/patriksimek/vm2/releases/tag/v3.11.1
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44007.json
- https://github.com/patriksimek/vm2
More patriksimek Vm2 vulnerabilities
- TI-2023-14382 Sandbox Escape in vm2 CVSS 3.1CRITICAL 10.0
- TI-2023-13478 vm2 Sandbox Escape vulnerability CVSS 3.1CRITICAL 10.0
- TI-2026-33200 vm2: Sandbox Breakout Using Async Generator CVSS 3.1CRITICAL 9.8
- TI-2026-32052 vm2: Sandbox Breakout Through Null Proto Exception CVSS 3.1CRITICAL 9.8
- TI-2026-32051 vm2 has sandbox breakout via `neutralizeArraySpeciesBatch` CVSS 3.1CRITICAL 9.8
- TI-2026-32049 vm2: Sandbox Escape CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-44007 · CVE Program
- CVE-2026-44007 · NVD
- FIRST EPSS
- GHSA-8hg8-63c5-gwmx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-44007 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences