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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-13T17:38:38.311Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-248r-7h7q-cr24
- Weaknesses: CWE-237, CWE-668
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- patriksimek vm2: < 3.11.3
- ansible-automation-platform/automation-portal: no versions given (not affected: from 1785854226 before *)
- rhdh/rhdh-hub-rhel9: no versions given
- vm2 (npm): before 3.11.3
- vm2_project vm2: before 3.11.3

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-248r-7h7q-cr24> (exploit, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-45411> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2477210> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45411.json>
- <https://access.redhat.com/errata/RHSA-2026:50850> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45411> (advisory)
- <https://github.com/patriksimek/vm2/commit/093494c0c3ef2390d2e56909f9d56e290e6f18b0> (web)
- <https://github.com/patriksimek/vm2> (package)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.3> (web)

## Sources

- CVE List: [CVE-2026-45411](https://www.cve.org/CVERecord?id=CVE-2026-45411), CVE Terms of Use, modified 2026-09-07
- GitHub Advisory Database: [GHSA-248r-7h7q-cr24](https://github.com/advisories/GHSA-248r-7h7q-cr24), CC-BY-4.0, modified 2026-05-14
- NVD: [CVE-2026-45411](https://nvd.nist.gov/vuln/detail/CVE-2026-45411), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-45411 · Whole record: https://cve.day/CVE-2026-45411.json · Rebuilt by cve.day 2026-11-25T22:59:21.620Z
