Skip to content

CVE-2026-45411 vm2: Sandbox Breakout Using Async Generator

CriticalCVSS 9.8 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Red Hat

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.3, it is possible to catch a host exception using the yield* expression inside an async generator. When the generator is closed using the return function, the value is awaited on and exceptions thrown in the then call will be caught by the runtime and passed to the yield* iterator as the next value. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.3.

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.3; <= 3.11.2 3.11.3 Fixed
redhat ansible portal < 1785854226 1785854226 Fixed
vm2 project vm2 < 3.11.3 3.11.3 Fixed
patriksimek vm2 = < 3.11.3 No fix listed Versions listed
redhat rhdh = 1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
patriksimek vm2 = < 3.11.3 No fix listed
redhat ansible portal < 1785854226 1785854226
redhat rhdh = 1 No fix listed
npm vm2(npm) <= 3.11.2 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.3 3.11.3
npm vm2(npm) < 3.11.3 3.11.3

References