CVE-2026-44003 PUBLISHED

vm2: Transformer Fast-Path Bypass Exposes Internal State Variable

Assigner: GitHub_M
Reserved: 04.05.2026 Published: 13.05.2026 Updated: 13.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 5.3

Product Status

Vendor patriksimek
Product vm2
Versions
  • Version < 3.11.0 is affected

References

Problem Types

  • CWE-693: Protection Mechanism Failure CWE