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

Advisory record · `GHSA-gjq8-xm47-88rc`

- **Identifiers:** `GHSA-gjq8-xm47-88rc` · `CVE-2026-92954`
- **State:** Confirmed
- **Severity:** CVSS 9.2 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-248](https://cwe.mitre.org/data/definitions/248.html) · [CWE-703](https://cwe.mitre.org/data/definitions/703.html)
- **Tags:** [CWE-248](https://agentprime.io/advisories/tag/cwe-248.md) · [CWE-703](https://agentprime.io/advisories/tag/cwe-703.md)
- **Published:** 5 Oct 2026
- **Updated:** 5 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Oct 2026, 22:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.2: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `vm2` (npm): affected `>=3.10.0, <3.11.8`; fixed in `3.11.8`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Affected: the vm2 sandbox library, versions >=3.10.0 and <3.11.8. An attacker who can run code inside a vm2 sandbox can call a host function that returns a rejected Promise and ignore the result, which leaves the host Promise unhandled and terminates the host Node.js process; the reporter also describes a NodeVM variant using the events builtin. Upgrade to vm2 3.11.8, which is the listed fixed version.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.2 Critical, CVSS 4.0: `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`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0049, the 42nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:34 UTC: First seen by agentprime
- 31 Oct 2026, 13:34 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-gjq8-xm47-88rc)

## Sources

- [GitHub Advisory Database: GHSA-gjq8-xm47-88rc](https://github.com/advisories/GHSA-gjq8-xm47-88rc)
- [OSV: GHSA-gjq8-xm47-88rc](https://osv.dev/vulnerability/GHSA-gjq8-xm47-88rc)
- <https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92954>
- <https://github.com/patriksimek/vm2/commit/5bb37f8b3f0498675a71cfa4df2b408d8ef7d4fb>
- <https://github.com/patriksimek/vm2>
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.8>
- <https://www.vulncheck.com/advisories/vm2-3.10.0-through-3.11.5-denial-of-service-via-host-promise>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-gjq8-xm47-88rc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-gjq8-xm47-88rc/>. Everything for agents: <https://agentprime.io/llms.txt>.
