CVE-2026-92954
vm2 is a sandbox library for running untrusted JavaScript in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc
- www.vulncheck.com/advisories/vm2-3.10.0-through-3.11.5-denial-of-service-via-host-promise
- nvd.nist.gov/vuln/detail/CVE-2026-92954
- github.com/patriksimek/vm2/commit/5bb37f8b3f0498675a71cfa4df2b408d8ef7d4fb
- github.com/patriksimek/vm2/releases/tag/v3.11.8
- github.com/advisories/GHSA-gjq8-xm47-88rc
- nvd.nist.gov/vuln/detail/CVE-2026-92954
- cve.org/CVERecord?id=CVE-2026-92954
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.