CVE-2026-100722

vm2 before 3.12.2 Host Process Termination via Construct Trap

State
Published
Severity
8.9 High
Published
Sep 27, 2026
Updated
Sep 28, 2026
Reserved
Sep 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.9 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HVulnCheck
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:HVulnCheck

Weaknesses

Affected Products

ProductVersions
vm2patriksimek
  • before 3.12.2Affected
  • 3.12.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.