CVE-2026-45411
published critical CVSS 3.1 · 9.8vm2: Sandbox Breakout Using Async Generator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm2< 3.11.3 | Affected | Not stated | GitHub_M |
| Red Hat | — | ansible-automation-platform/automation-portalRed Hat Ansible Automation Platform 2.1 · 1785854226 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in vm2 (before 3.11.3). Host exceptions can be caught from sandbox code using yield* inside an async generator; closing the generator with return() awaits the value and passes host exceptions back into the sandbox iterator, enabling escape and arbitrary host command execution. Fixed in 3.11.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | < 3.11.3 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.1 | 1785854226 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
- CWE-237 Improper Handling of Structural Elements
References
5- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-45411
- RHBZ#2477210 https://bugzilla.redhat.com/show_bug.cgi?id=2477210
- https://github.com/patriksimek/vm2/security/advisories/GHSA-248r-7h7q-cr24
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45411.json
Provider assertions
3GitHub_M · cna
vm2: Sandbox Breakout Using Async Generator
redhat-SADP · adp
vm2: vm2: Arbitrary Code Execution due to sandbox escape vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ee8290d1b33d6457b7631878842df5a7c70aa17f0ccff72a35d0da9c944df356
- Ingested
- 23 Sep 2026, 09:15:37 UTC
- Source record
- Official CVE record