Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vm2
  4. ›
  5. CVE-2026-100722

CVE-2026-100722: vm2: Host Promise rejection from an exposed constructor can terminate the vm2 host process

October 5, 2026

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 →

Affected versions

All versions before 3.12.2

Fixed versions

  • 3.12.2

Solution

Upgrade to version 3.12.2 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception
  • CWE-703: Improper Check or Handling of Exceptional Conditions

Source file

npm/vm2/CVE-2026-100722.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:00 +0000.