CVE-2026-100722
published high CVSS 4.0 · 8.9vm2 before 3.12.2 Host Process Termination via Construct Trap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm20 to < 3.12.2 (affected · semver) · 3.12.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | 0 to < 3.12.2 (affected · semver)3.12.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-248 Uncaught Exception
References
2- GitHub Security Advisory (GHSA-2v2p-6j97-cjg9) https://github.com/patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9
- VulnCheck Advisory: vm2 before 3.12.2 Host Process Termination via Construct Trap https://www.vulncheck.com/advisories/vm2-before-3.12.2-host-process-termination-via-construct-trap
Provider assertions
2VulnCheck · cna
vm2 before 3.12.2 Host Process Termination via Construct Trap
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a9fc56608970106a95f4f3e4b4c7654dc5c6e0455dc8f241c17577412f3ffbea
- Ingested
- 30 Sep 2026, 15:17:34 UTC
- Source record
- Official CVE record