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

CVE-2026-43999: vm2 has a NodeVM builtin allowlist bypass via `module` builtin's `Module._load` that allows sandbox escape

May 7, 2026

NodeVM’s builtin allowlist can be bypassed when the module builtin is allowed (including via the '*' wildcard). The module builtin exposes Node’s Module._load(), which loads any module by name directly in the host context, completely bypassing vm2’s builtin restriction. This allows sandboxed code to load excluded builtins like child_process and achieve remote code execution.

References

  • github.com/advisories/GHSA-947f-4v7f-x2v8
  • github.com/patriksimek/vm2
  • github.com/patriksimek/vm2/security/advisories/GHSA-947f-4v7f-x2v8
  • nvd.nist.gov/vuln/detail/CVE-2026-43999

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.10.5 before 3.11.0, version 3.10.5

Fixed versions

  • 3.11.0

Solution

Upgrade to version 3.11.0 or above.

Impact 9.9 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

npm/vm2/CVE-2026-43999.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 00:19:10 +0000.