Skip to content

CVE-2026-44000 vm2: sandbox boundary bypass via host Promise resolution preserving host object identity

HighCVSS 7.2 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Red Hat

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox boundary violation in vm2 allows host object identity to cross into the sandbox through host Promise resolution. When a host-side Promise that resolves to a host object is exposed to the sandbox, the value delivered to the sandbox .then() callback preserves host identity. This allows the sandbox to interact with the host object directly, including performing identity checks using host-side WeakMap and mutating host object state from inside the sandbox. This behavior occurs because the Promise fulfillment wrapper uses ensureThis() instead of the stronger cross-realm conversion path (from() / proxy wrapping). If no prototype mapping is found, ensureThis() returns the original object. As a result, objects resolved by host Promises can cross the sandbox boundary without proper isolation. This vulnerability is fixed in 3.11.0.

Upgrade path

4 packages: 2 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.0; <= 3.10.5 3.11.0 Fixed
vm2 project vm2 < 3.11.0 3.11.0 Fixed
patriksimek vm2 = < 3.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
patriksimek vm2 = < 3.11.0 No fix listed
npm vm2(npm) <= 3.10.5 No fix listed
redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat:ansible_portal:2.1) All versions No fix listed
vm2 project vm2 < 3.11.0 3.11.0
npm vm2(npm) < 3.11.0 3.11.0

References