CVE-2026-45411 vm2: Sandbox Breakout Using Async Generator
- 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.
| 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.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
| Product | Affected versions | Fixed 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
- https://github.com/patriksimek/vm2/security/advisories/GHSA-248r-7h7q-cr24 exploit vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2477210 issue-tracking
- security.access.redhat.com
- RHSA-2026:50850 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- www.cve.org
- github.com product
- ENISA EUVD EUVD-2026-30086 third-party-advisory