CVE-2026-100722 vm2 before 3.12.2 Host Process Termination via Construct Trap
HighCVSS 8.9
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) | All versions | No fix listed |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat:ansible_portal:2) | All versions | No fix listed |
| npm vm2 | < 3.12.2 | 3.12.2 |
| npm vm2(npm) | <= 3.12.1 | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2541994 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory
- GitHub Security Advisory (GHSA-2v2p-6j97-cjg9) exploit vendor-advisory
- VulnCheck Advisory: vm2 before 3.12.2 Host Process Termination via Construct Trap third-party-advisory
- github.com patch
- github.com
- github.com