CVE-2026-44003vm2: Transformer Fast-Path Bypass Exposes Internal State Variable
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's code transformer has a performance optimization that skips AST analysis when the code does not contain catch, import, or async keywords. This fast-path bypass allows sandboxed code to directly access the internal VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL variable, which exposes internal security functions (handleException, wrapWith, import). This vulnerability is fixed in 3.11.0.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| patriksimek | vm2 | < 3.11.0 | |
| vm2 project | vm2 | < 3.11.0 |
References and patches
- https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 ExploitMitigationVendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*< 3.11.0