What’s Vulnerable › Vulnerabilities
CVE-2026-44003: vm2: Transformer Fast-Path Bypass Exposes Internal State Variable
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-13 · updated 2026-10-26
- Weakness: CWE-693
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.
Affected products
- patriksimek vm2: before 3.11.0 — fixed in 3.11.0
How to fix
Upgrade to a fixed version: patriksimek vm2 3.11.0. Check the vendor advisory for mitigations.
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7
- https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7
Get alerted when CVE-2026-44003 or the next vulnerability affects your stack