Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vm2
  4. ›
  5. CVE-2026-44003

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

May 7, 2026 (updated November 5, 2026)

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).

References

  • github.com/advisories/GHSA-wp5r-2gw5-m7q7
  • github.com/patriksimek/vm2/commit/9f0484862b74be3584169db282236a47f418ddbb
  • github.com/patriksimek/vm2/releases/tag/v3.11.0
  • github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7
  • nvd.nist.gov/vuln/detail/CVE-2026-44003

Code Behaviors & Features

Detect and mitigate CVE-2026-44003 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.11.0

Fixed versions

  • 3.11.0

Solution

Upgrade to version 3.11.0 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

npm/vm2/CVE-2026-44003.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:23 +0000.