Security Digest · Vulnerability record

CVE-2026-92954: vm2: Host-returned Promise rejection can bypass vm2's unhandled-rejection hardening and terminate the host process

vm2 is a sandbox library for running untrusted JavaScript in Node.js.

CVSS 9.2 Critical EPSS 0.5% · p41 Check exposure

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 0.5%, percentile 41: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 41% of all scored CVEs (low). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes vm2 (npm) >= 3.10.0, <= 3.11.7, fixed in 3.11.8. Check your lockfile, including transitive dependencies.
  • Editorial verdict: Check exposure. vm2: 22 Critical Sandbox Escapes, Fixed in 3.12.2 — If anything outside your trust boundary can get code into vm2, upgrade to 3.12.2 today and plan to move that code out of process; if vm2 only runs your own code, upgrade on a normal cycle.

What it is

vm2 is a sandbox library for running untrusted JavaScript in Node.js. In versions >= 3.10.0 and

From the GitHub advisory

Summary

vm2 current head (v3.11.5, commit 7a1f5100b96f48d34e0fe104ab37c0acc5944f92) can still be used to terminate the host Node.js process when sandbox code calls a host-realm function that returns a rejected host Promise and then ignores the returned value.

This is an incomplete-fix variant of the GHSA-hw58-p9xv-2mjh unhandled rejection hardening. The localPromise constructor now catches and consumes sandbox-created unhandled rejections, but host Promises returned across the bridge are not marked handled at the bridge boundary. If the sandbox does not attach .catch() or .then(..., onRejected), Node's default unhandled rejection behavior terminates the host process.

Technical Details

lib/setup-sandbox.js hardens sandbox-created Promises by wrapping the executor and attaching a benign swallow tail:

Weakness type: CWE-248, CWE-703.

Product: vm2 (npm) · Assigned by: VulnCheck · Published: 2026-09-17

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
npmvm2>= 3.10.0, <= 3.11.73.11.8
VendorProductAffected versions (per CVE record)
patriksimekvm23.10.0 < 3.11.8

Severity scores

Scored byCVSSScoreVector
VulnCheck4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
VulnCheck3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
GitHub4.09.2 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact partial.
  • FIRST EPSS (model of 2026-10-21): 0.49% probability of exploitation activity in the next 30 days; percentile 41.

Timeline

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. GitHub Security Advisory (GHSA-gjq8-xm47-88rc) github.com

Vulnerability records

  1. GitHub Advisory GHSA-gjq8-xm47-88rc github.com
  2. CVE.org record CVE-2026-92954 cve.org
  3. NVD entry CVE-2026-92954 nvd.nist.gov

Other references from the CVE record and advisory

  1. VulnCheck Advisory: vm2 3.10.0 through 3.11.5 Denial of Service via Host Promise vulncheck.com
  2. github.com github.com
  3. github.com github.com

Critical npm advisories · Today’s Security Digest