CVE-2026-100722: vm2: Host Promise rejection from an exposed constructor can terminate the vm2 host process
An untrusted script run by VM.run can construct an embedder-exposed host function that returns a rejected native Promise and ignore the result. The sandbox-to-host construct trap forwards that Promise without applying the host-side rejection handling already used by the neighboring apply trap, so Node’s strict unhandled-rejection policy terminates the host process.
References
- github.com/advisories/GHSA-2v2p-6j97-cjg9
- github.com/patriksimek/vm2/commit/6e487df9518e455e5e60faec3df3a0e2e27f9940
- github.com/patriksimek/vm2/releases/tag/v3.12.2
- github.com/patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9
- nvd.nist.gov/vuln/detail/CVE-2026-100722
- www.vulncheck.com/advisories/vm2-before-3.12.2-host-process-termination-via-construct-trap
Code Behaviors & Features
Detect and mitigate CVE-2026-100722 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →