What’s Vulnerable › Vulnerabilities
CVE-2026-92954: vm2 3.10.0 through 3.11.7 Denial of Service via Host Promise
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-17 · updated 2026-09-21
- Weakness: CWE-248
Description
vm2 is a sandbox library for running untrusted JavaScript in Node.js. In versions >= 3.10.0 and <= 3.11.7, Promises returned from the host realm into the sandbox are not marked as handled at the bridge boundary; only Promises created inside the sandbox are wrapped with a rejection-swallowing handler (lib/setup-sandbox.js), and the bridge only installs host-side rejection sanitizers when sandbox code calls .then/.catch/.finally. As a result, code running in the sandbox can invoke a host function that returns a rejected Promise (for example events.once() exposed via the NodeVM events builtin, or any embedder-provided Promise-returning API) and simply ignore the return value, leaving the host Promise unhandled so that Node.js's default unhandled-rejection behavior terminates the host process. This is an incomplete fix of GHSA-hw58-p9xv-2mjh. The issue is fixed in version 3.11.8.
Affected products
- patriksimek vm2: from 3.10.0 before 3.11.8 — fixed in 3.11.8
How to fix
Upgrade to a fixed version: patriksimek vm2 3.11.8. Check the vendor advisory for mitigations.
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc
- https://www.vulncheck.com/advisories/vm2-3.10.0-through-3.11.5-denial-of-service-via-host-promise
- https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc
Get alerted when CVE-2026-92954 or the next vulnerability affects your stack