Home

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.

PUBLISHED Reserved 2026-05-04 | Published 2026-05-13 | Updated 2026-05-13 | Assigner GitHub_M




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

Problem types

CWE-693: Protection Mechanism Failure

Product status

< 3.11.0
affected

References

github.com/...ek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 exploit

github.com/...ek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7

cve.org (CVE-2026-44003)

nvd.nist.gov (CVE-2026-44003)

Download JSON