CVE-2026-100722

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductVm2
PublishedSep 27, 2026
First seenSep 27, 2026
Weakness typeCWE-248CWE-248

How to fix

Affected products

ProductAffected versionsFixed in
vm2npmv < 3.12.23.12.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-100722 · Vm2 · Dark Radar