---
title: "CVE-2026-92940: vm2 exposes host HTTPS credentials and TLS traffic through globalAgent"
url: https://erroneo.us/security/cve/CVE-2026-92940/
description: "CVE-2026-92940 (vm2 (npm)): vm2 versions 3.11.3 through 3.11.6 expose the host process's real https.globalAgent to sandboxed code when a NodeVM is…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-09-17
date_modified: 2026-10-07
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-92940"
kev: false
cvss: 10
epss: 0.00474
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-92940: vm2 exposes host HTTPS credentials and TLS traffic through globalAgent

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.5% , percentile 40: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 40% 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.11.3, <= 3.11.6, fixed in 3.11.7 . 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 versions 3.11.3 through 3.11.6 expose the host process's real https.globalAgent to sandboxed code when a NodeVM is explicitly configured to allow require('https'). The builtin loader wraps host modules in a read-only proxy, but method calls such as Agent.prototype.on() are forwarded to the underlying host object, so sandbox code can register a listener for the agent's 'free' event. When an unrelated host HTTPS request releases a pooled connection, the listener receives the live host request options and the host TLSSocket, allowing sandboxed code to read the host's Authorization header and private destination host/port, attach a data listener to the released socket and read subsequent host response bodies in plaintext, and issue attacker-chosen authenticated requests using the stolen credentials. The issue is fixed in 3.11.7.

## Affected packages

- npm `vm2` >= 3.11.3, <= 3.11.6 → fixed: 3.11.7

## Affected products (CVE record)

- patriksimek vm2: 3.11.3 < 3.11.7

## Severity

- VulnCheck CVSS 4.0: 10 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L`
- VulnCheck CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`

## Exploitation

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

## Sources

- [GitHub Security Advisory (GHSA-h85j-hv3c-qfgq)](https://github.com/patriksimek/vm2/security/advisories/GHSA-h85j-hv3c-qfgq)
- [GitHub Advisory GHSA-h85j-hv3c-qfgq](https://github.com/advisories/GHSA-h85j-hv3c-qfgq)
- [CVE.org record CVE-2026-92940](https://www.cve.org/CVERecord?id=CVE-2026-92940)
- [NVD entry CVE-2026-92940](https://nvd.nist.gov/vuln/detail/CVE-2026-92940)
- [VulnCheck Advisory: vm2 3.11.3 through 3.11.6 HTTPS Credential Exposure via globalAgent](https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-https-credential-exposure-via-globalagent)
- [github.com](https://github.com/patriksimek/vm2/commit/aa146a77f859325e079f3bfbfe6d8309af483daa)
- [github.com](https://github.com/patriksimek/vm2/releases/tag/v3.11.7)

---
Source page: https://erroneo.us/security/cve/CVE-2026-92940/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
