Node.js 24 Sandbox Escape in vm2 by Allowlist Bypass
CVE-2026-92948

9.4CRITICAL

Key Information:

Status
Vendor
CVE Published:
17 September 2026

What is CVE-2026-92948?

The vulnerability in vm2 allows an attacker to escape the sandbox environment on Node.js 24 and newer when the node:test builtin is explicitly permitted. This occurs due to the interaction between module.builtinModules and the DANGEROUS_BUILTINS protection. The exploit enables untrusted code to execute arbitrary JavaScript in the host Node process, posing significant security risks. The issue affects vm2 versions from 3.9.6 to 3.11.6 and has been addressed in version 3.11.7.

Affected Version(s)

vm2 3.9.6 < 3.11.7

vm2 3.11.7

References

CVSS V4

Score:
9.4
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

the-vibe-dev
.