CVE Catalog

CVE-2026-44003

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

In vm2 prior to 3.11.0, the 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, exposing internal security functions (handleException, wrapWith, import). This vulnerability is fixed in 3.11.0.

Risk Assessment

Sandboxed code can access vm2's internal security functions, potentially leading to sandbox escape and code execution in the host context. This poses a serious threat to applications relying on vm2 for code isolation.

Recommendation

Update vm2 to version 3.11.0 or later. Until patched, avoid running untrusted code in vm2.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS