CVE-2026-100722

high

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.

References

https://www.vulncheck.com/advisories/vm2-before-3.12.2-host-process-termination-via-construct-trap

https://github.com/patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-87857

Details

Source: Mitre, NVD

Published: 2026-09-27

Updated: 2026-09-28

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 6.8

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H

Severity: Medium

CVSS v4

Base Score: 8.9

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Severity: High

EPSS

EPSS: 0.0026