Skip to content

CVE-2026-44003 vm2: Transformer Fast-Path Bypass Exposes Internal State Variable

MediumCVSS 5.8 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat ansible_portal 2.1) All versions No fix listed No fix yet
npm vm2(npm) < 3.11.0; <= 3.10.5 3.11.0 Fixed
vm2 project vm2 < 3.11.0 3.11.0 Fixed
patriksimek vm2 = < 3.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
patriksimek vm2 = < 3.11.0 No fix listed
redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat:ansible_portal:2.1) All versions No fix listed
npm vm2(npm) <= 3.10.5 No fix listed
vm2 project vm2 < 3.11.0 3.11.0
npm vm2(npm) < 3.11.0 3.11.0

References