vm2: Sandbox Breakout Using Async Generator
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| patriksimek | vm2 | before 3.11.3 | 3.11.3 | Patch available | CNA |
| — | vm2 (npm) | before 3.11.3 | 3.11.3 | Patch available | GHSA-248r-7h7q-cr24 |
- vm2 Vendorpatriksimek Affected before 3.11.3 Fixed in 3.11.3 Patch available CNA
- vm2 (npm) Vendor— Affected before 3.11.3 Fixed in 3.11.3 Patch available GHSA-248r-7h7q-cr24
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* | before 3.11.3 | Vulnerable | patriksimek |
- cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* Versions before 3.11.3 Vulnerable ·patriksimek
Remediation
- Fix · CNA vm2 (patriksimek) Fixed in 3.11.3
- Fix · GHSA-248r-7h7q-cr24 vm2 (npm) Fixed in 3.11.3 Advisory →
Red Hat 1 advisory
- RHSA-2026:50850 Released 2026-08-05 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.1 security update
- Red Hat Ansible Automation Platform 2.1 registry.redhat.io/ansible-automation-platform/automation-portal
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.1 | Fixed | RHSA-2026:50850 |
Not affected: 1 product
- Red Hat Developer Hub 1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45411
- 2026-10-03 Alias added: GHSA-248r-7h7q-cr24
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-10-27 Affected versions changed · Red Hat
References
More patriksimek Vm2 vulnerabilities
- TI-2023-14382 Sandbox Escape in vm2 CVSS 3.1CRITICAL 10.0
- TI-2023-13478 vm2 Sandbox Escape vulnerability CVSS 3.1CRITICAL 10.0
- TI-2026-32052 vm2: Sandbox Breakout Through Null Proto Exception CVSS 3.1CRITICAL 9.8
- TI-2026-32051 vm2 has sandbox breakout via `neutralizeArraySpeciesBatch` CVSS 3.1CRITICAL 9.8
- TI-2026-32049 vm2: Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-32048 vm2: Sandbox escape CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-45411 · CVE Program
- CVE-2026-45411 · NVD
- FIRST EPSS
- GHSA-248r-7h7q-cr24 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-45411 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences