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

CVE-2026-47140: NodeVM builtin denylist bypass via process and inspector/promises allows host code execution

May 29, 2026 (updated June 12, 2026)

NodeVM blocks several dangerous Node.js builtins such as module, worker_threads, cluster, vm, repl, and inspector.

However, the denylist misses process and inspector/promises. Both can be used from sandboxed code to reach host-side execution primitives.

This allows sandboxed code to bypass the intended builtin restrictions and execute code in the host process.

References

  • github.com/advisories/GHSA-rp36-8xq3-r6c4
  • github.com/patriksimek/vm2/commit/a1ed47a98d1cc36cb48c0d566d55889688e0b59b
  • github.com/patriksimek/vm2/releases/tag/v3.11.4
  • github.com/patriksimek/vm2/security/advisories/GHSA-rp36-8xq3-r6c4
  • nvd.nist.gov/vuln/detail/CVE-2026-47140

Code Behaviors & Features

Detect and mitigate CVE-2026-47140 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.4

Fixed versions

  • 3.11.4

Solution

Upgrade to version 3.11.4 or above.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

npm/vm2/CVE-2026-47140.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:41 +0000.