Advisory record · GHSA-h85j-hv3c-qfgq

vm2 exposes host HTTPS credentials and TLS traffic through globalAgent

CVSS 10.0 CriticalCriticalEPSS 0.0043 · 37th percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

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

PackageEcosystemAffectedFixed in
vm2npm>=3.11.3, <3.11.73.11.7
Identifiers
GHSA-h85j-hv3c-qfgq · CVE-2026-92940
Weakness (CWE)
CWE-668
Published
1 Oct 2026
Updated
1 Oct 2026

Machine-written summary

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

Versions 3.11.3 up to but not including 3.11.7 of the npm package vm2 are affected. When a NodeVM is allowed to require the https builtin, sandbox code can register listeners on the host process's shared https.globalAgent and receive host request options and the live TLS socket. An attacker who can submit code to such a sandbox can read host bearer tokens and plaintext responses on reused connections and perform authenticated actions. The source says the exposure happens only when the host uses the default HTTPS agent. Upgrade to vm2 3.11.7, which is the fixed version listed.

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

ScoreRatingCVSSVectorSource
10.0 Critical 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0043, the 37th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:34 UTC First seen by agentprime
  2. 31 Oct 2026, 13:34 UTC Confirmed by OSV

Sources

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.