CVE-2026-44003
MEDIUMvm2: Transformer Fast-Path Bypass Exposes Internal State Variable
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7
Scores
CVSS v3
5.3
EPSS
0.0005
EPSS Percentile
15.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-693
Status
published
Products (3)
npm/vm2
0 - 3.11.0npm
patriksimek/vm2
< 3.11.0
vm2_project/vm2
< 3.11.0
Published
May 13, 2026
Tracked Since
May 13, 2026