critical9.8
CVE-2026-44008
vm2 has sandbox breakout via `neutralizeArraySpeciesBatch`
Impact
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, the new method neutralizeArraySpeciesBatch works with objects from the other side but can call into this side via getter on the array prototype exposing objects of the wrong side into the sandbox. This can be used to get host objects and get the host Function object. 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.2.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | vm2 | <= 3.11.1 | 3.11.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vm2 Project | Vm2 | before 3.11.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-9qj6-qjgg-37qq
- https://github.com/patriksimek/vm2/security/advisories/GHSA-9qj6-qjgg-37qq
- https://github.com/patriksimek/vm2/releases/tag/v3.11.2
- https://nvd.nist.gov/vuln/detail/CVE-2026-44008
- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-44008
- https://bugzilla.redhat.com/show_bug.cgi?id=2477201
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44008.json