Vulnerability

CVE-2026-100722

highCVSS 4.0 8.9Published 27 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9
  • www.vulncheck.com /advisories/vm2-before-3.12.2-host-process-termination-via-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning