CVE-2026-44007 vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Red Hat
Description
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.
Upgrade path
6 packages: 3 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat ansible_portal 2.1) | All versions | No fix listed | No fix yet |
| npm vm2(npm) | < 3.11.1; <= 3.11.0 | 3.11.1 | Fixed |
| redhat ansible portal | < 1785854226 | 1785854226 | Fixed |
| vm2 project vm2 | < 3.11.1 | 3.11.1 | Fixed |
| patriksimek vm2 | = < 3.11.1 | No fix listed | Versions listed |
| redhat rhdh | = 1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| patriksimek vm2 | = < 3.11.1 | No fix listed |
| redhat ansible portal | < 1785854226 | 1785854226 |
| redhat rhdh | = 1 | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| npm vm2(npm) | <= 3.11.0 | No fix listed |
| vm2 project vm2 | < 3.11.1 | 3.11.1 |
| npm vm2(npm) | < 3.11.1 | 3.11.1 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-8hg8-63c5-gwmx exploit vendor-advisory
- https://github.com/patriksimek/vm2/commit/46cbbdde4e19b743974c942278080231004146ca patch
- https://access.redhat.com/errata/RHSA-2026:50850 patch vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-44007 vdb-entry vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2477198 issue-tracking
- https://github.com/patriksimek/vm2/releases/tag/v3.11.1
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44007.json
- http://www.openwall.com/lists/oss-security/2026/05/05/11 mailing-list third-party-advisory
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-30077 third-party-advisory