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

CVE-2026-92957: vm2: NodeVM node:-prefixed negative builtin deny bypass exposes child_process

October 1, 2026

NodeVM normalizes node:-prefixed builtin specifiers during require() resolution, but it does not normalize user-provided negative builtin entries in wildcard policy.

As a result, this configuration:

new NodeVM({
require: {
builtin: ['*', '-node:child_process']
}
});

does not deny the canonical child_process builtin. Sandboxed code can require both child_process and node:child_process, and receives the host module with process-spawning APIs such as execSync and spawn.

The safe proof below only checks module and function reachability. It does not execute any OS command.

References

  • github.com/advisories/GHSA-8686-vhfx-7r3j
  • github.com/patriksimek/vm2/commit/b0f50662dd499ff33544bb42387958c64711af1e
  • github.com/patriksimek/vm2/releases/tag/v3.11.7
  • github.com/patriksimek/vm2/security/advisories/GHSA-8686-vhfx-7r3j
  • nvd.nist.gov/vuln/detail/CVE-2026-92957
  • www.vulncheck.com/advisories/vm2-before-3.11.7-authentication-bypass-via-node-prefix

Code Behaviors & Features

Detect and mitigate CVE-2026-92957 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 before 3.11.7

Fixed versions

  • 3.11.7

Solution

Upgrade to version 3.11.7 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-269: Improper Privilege Management
  • CWE-284: Improper Access Control

Source file

npm/vm2/CVE-2026-92957.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 02 Oct 2026 12:17:07 +0000.