CVE-2026-92957
Last modified
CVE-2026-92957 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. vm2 through 3.11.6 does not normalize `node:`-prefixed builtin specifiers when evaluating user-supplied negative (deny) entries in a NodeVM wildcard require policy. Although NodeVM strips the `node:` prefix during require() resolution, negative wildcard entries are matched by exact string comparison against the canonical builtin names, so a policy such as `new NodeVM({ require: { builtin: ['*', '-node:child_process'] } })` fails to deny the canonical `child_process` module.
Description
vm2 through 3.11.6 does not normalize `node:`-prefixed builtin specifiers when evaluating user-supplied negative (deny) entries in a NodeVM wildcard require policy. Although NodeVM strips the `node:` prefix during require() resolution, negative wildcard entries are matched by exact string comparison against the canonical builtin names, so a policy such as `new NodeVM({ require: { builtin: ['*', '-node:child_process'] } })` fails to deny the canonical `child_process` module. Sandboxed code can therefore obtain the host `child_process` builtin via `require('child_process')` or `require('node:child_process')`, gaining references to process-spawning APIs such as execSync and spawn, which is equivalent to host command-execution capability for untrusted sandbox code. Fixed in vm2 3.11.7. (Suggested title: "vm2 before 3.11.7: NodeVM builtin deny-list bypass via node:-prefixed specifiers exposes child_process")
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-92957?
How severe is CVE-2026-92957?
How do I fix CVE-2026-92957?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-92951vm2 before 3.11.7 contains an incorrect authorization vulner…9.9
- CVE-2026-92952vm2 versions 3.11.4 through 3.11.6 incompletely filter Node.…6.8
- CVE-2026-92953vm2 versions from 3.11.0 before 3.11.8 fail to protect host …10
- CVE-2026-92954vm2 is a sandbox library for running untrusted JavaScript in…8.6
- CVE-2026-92955vm2 before 3.11.8 contains a sandbox escape vulnerability in…10
- CVE-2026-92956vm2 versions 3.10.1 through 3.11.6 contain a sandbox escape …10
- CVE-2026-92958vm2 through 3.11.6 contains a builtin-module denylist bypass…8.5
- CVE-2026-92959vm2 before 3.11.8 does not fully enforce the allowAsync: fal…7.1
- CVE-2026-9296A weakness has been identified in Edimax BR-6428NS 1.10. Thi…6.3
- CVE-2026-92960vm2 before 3.11.6 fails to restrict access to os and dns bui…10
- CVE-2026-92961vm2 before 3.11.6 fails to enforce bufferAllocLimit on Array…7.5
- CVE-2026-92962vm2 is a sandbox for running untrusted JavaScript. In vm2 ve…2.1
Are you affected by CVE-2026-92957?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
