Skip to content

CVE-2026-44007 vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution

CriticalCVSS 9.1 EPSS 1.0%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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