CVE-2026-44003
MEDIUM 5.8CVSS 3.1vm2's Transformer Fast-Path Bypass Exposes Internal State Variable
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
- 13 May 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-693
- Also known as
- GHSA-wp5r-2gw5-m7q7
- Sources
- NVDJSONOSV GHSA-wp5r-2gw5-m7q7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vm2_project | vm2cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* |
< 3.11.0 | 3.11.0 |
| OSV | npm | vm2 | < 3.11.0 | 3.11.0 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44003 · ADVISORY
- https://github.com/patriksimek/vm2/commit/9f0484862b74be3584169db282236a47f418ddbb · WEB
- https://github.com/patriksimek/vm2 · PACKAGE
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 May 2026)