Vulnerability in Patriksimek Vm2
CVE-2026-92948
vm2 versions >= 3.9.6 and <= 3.11.6 are affected by a NodeVM builtin allowlist bypass that permits a sandbox escape on Node.js 24 and newer when the embedder explicitly allows the node:test builtin (e.g. require: { builtin: ['node:test'] }). On Node.js 24+, module.builtinModules exposes the scheme-only key node:test, which is not covered by vm2's family-based DANGEROUS_BUILTINS protection, so it is stored in the generic host-passthrough loader. Because requireImpl() in lib/setup-node-sandbox.js strips a single 'node:' prefix before the builtin lookup, sandbox code calling require('node:node:test') resolves to the stored node:test key and receives a readonly proxy to the host module. Calls to node:test.run() are forwarded to the host implementation, which spawns a separate Node process for process-isolated test execution and passes through attacker-controlled execArgv values; supplying --eval=<JavaScript> therefore executes arbitrary JavaScript in an unrestricted host Node process outside the NodeVM sandbox. Fixed in vm2 3.11.7.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (51.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 51.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/patriksimek/vm2/security/advisories/GHSA-qhwx-74w5-xhxq (vendor-advisory)
- www.vulncheck.com/advisories/vm2-3.9.6-through-3.11.5-sandbox-escape-via-node-t… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-92948?
- CVE-2026-92948 is a critical-severity vulnerability in Patriksimek Vm2, classified under Protection Mechanism Failure. CVSS score: 9.9/10. Published 2026-09-17.
- How severe is CVE-2026-92948?
- Critical severity. CVSS v3 base score is 9.9 out of 10.