CVE-2026-100722
vm2 before 3.12.2 does not apply host-side Promise rejection …
vm2 before 3.12.2 does not apply host-side Promise rejection handling in the sandbox-to-host construct trap. In BaseHandler, the apply trap calls markHostPromiseHandled() on the returned value, but the adjacent construct path returns the result of Reflect.construct without the same sanitization. If an embedder exposes a constructable host function whose constructor returns a native rejected Promise, an untrusted script executed via VM.run can invoke it with `new` and ignore the result; the rejected host Promise crosses the bridge unhandled and, under Node's strict unhandled-rejection policy, is promoted to an uncaught exception that terminates the host process.
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-2v2p-6j97-cjg9
- www.vulncheck.com/advisories/vm2-before-3.12.2-host-process-termination-via-construct-trap
- nvd.nist.gov/vuln/detail/CVE-2026-100722
- github.com/patriksimek/vm2/commit/6e487df9518e455e5e60faec3df3a0e2e27f9940
- github.com/patriksimek/vm2/releases/tag/v3.12.2
- github.com/advisories/GHSA-2v2p-6j97-cjg9
- nvd.nist.gov/vuln/detail/CVE-2026-100722
- cve.org/CVERecord?id=CVE-2026-100722
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.