vm2 before 3.12.2 Host Process Termination via Construct Trap
Published Sep 27, 2026
8.9
HIGHCVSS 4.0
EPSS 0.26%
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.
Affected products
-
- Version 0StatusaffectedConstraints<3.12.2
- Version 3.12.2StatusunaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Patriksimek | Vm2 | unaffected |
|
No data.
No data.
Red Hat Developer Hub
rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend
Fix deferred
Red Hat Developer Hub
rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend
Fix deferred
Red Hat Developer Hub
rhdh/rhdh-hub-rhel9
Fix deferred
Self-service automation portal 2
ansible-automation-platform/automation-portal
Fix deferred
Self-service automation portal 2
ansible-automation-platform/bootc-automation-portal-rhel9
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Hub | rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend | Fix deferred | n/a |
| Red Hat Developer Hub | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend | Fix deferred | n/a |
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Fix deferred | n/a |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Fix deferred | n/a |
| Self-service automation portal 2 | ansible-automation-platform/bootc-automation-portal-rhel9 | Fix deferred | n/a |
vm2
npm
Introduced 0 Fixed 3.12.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | vm2 | 0 | 3.12.2 |
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2026-100722 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2541994 Issue Tracking
- https://github.com/advisories/GHSA-2v2p-6j97-cjg9 Advisory
- https://github.com/patriksimek/vm2/commit/6e487df9518e455e5e60faec3df3a0e2e27f9940
- https://github.com/patriksimek/vm2/releases/tag/v3.12.2
- https://github.com/patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9 exploitvendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-100722
- https://www.cve.org/CVERecord?id=CVE-2026-100722
- https://www.vulncheck.com/advisories/vm2-before-3.12.2-host-process-termination-via-construct-trap third-party-advisory
Change history (0)
No recorded changes yet.