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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.9 High | 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 | VulnCheck |
| 3.1 | 6.8 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-248 Uncaught Exception
Affected Products
| Product | Versions |
|---|---|
vm2patriksimek |
|
References
- GitHub Security Advisory (GHSA-2v2p-6j97-cjg9)vendor-advisory
- VulnCheck Advisory: vm2 before 3.12.2 Host Process Termination via Construct Trapthird-party-advisory
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.