Patch Forecast
Yellow warning
Plan into this sprint.

CVE-2026-100722 · GHSA-2v2p-6j97-cjg9

vm2: Host Promise rejection from an exposed constructor can terminate the vm2 host process

Risk score
49/100
CVSS
6.8 v3.1
Exploit chance (30 days)
0.3%
Published
27 Sep 2026

Open in the live forecast Today's forecast

What to know

What it is
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…
Affected
vm2 (npm) <= 3.12.1
Fix
Upgrade vm2 to 3.12.2 or later.
Exploitation
No known exploitation

Why it is Yellow

  • CVSS 6.8 medium
  • On your watchlist: npm

Affected packages

PackageEcosystemVulnerableFixed in
vm2npm<= 3.12.13.12.2

References

Original 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.

Last activity 27 Sep 2026. Patch Forecast updates every hour.