Vulnerability in Patriksimek Vm2
CVE-2026-44003
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.002, 16.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Patriksimek Vm2 — versions < 3.11.0
- Vm2 Project
Weakness classification (CWE)
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 (Exploit, Mitigation, Vendor Advisory)