{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-92940","id":"CVE-2026-92940","title":"vm2 3.11.3 through 3.11.6 HTTPS Credential Exposure via globalAgent","description":"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 unr","descriptionLong":"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.","published":"2026-09-17T13:46:04.218Z","updated":"2026-10-28T02:30:36.902457416Z","reserved":"2026-09-17T12:42:34.828Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":10,"vector":"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","rating":"critical","source":"VulnCheck"},"metrics":[{"version":"4.0","score":10,"vector":"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","rating":"critical","source":"VulnCheck"},{"version":"4.0","score":10,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","rating":"critical","source":"VulnCheck"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","rating":"critical","source":"vulncheck.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","rating":"critical","source":"GitHub"}],"rating":"critical","products":["patriksimek vm2"],"affectedProducts":[{"vendor":"patriksimek","product":"vm2","defaultStatus":"unaffected","versions":[{"version":"3.11.3","status":"affected","versionType":"semver","lessThan":"3.11.7"},{"version":"3.11.7","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"vm2","purl":"pkg:npm/vm2","ranges":[">=3.11.3 <3.11.7"],"fixed":["3.11.7"],"advisory":"GHSA-h85j-hv3c-qfgq"}],"cwes":["CWE-668"],"aliases":["GHSA-h85j-hv3c-qfgq"],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-h85j-hv3c-qfgq","tags":["vendor-advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-https-credential-exposure-via-globalagent","tags":["third-party-advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92940.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92940","tags":["advisory"]},{"url":"https://github.com/patriksimek/vm2/commit/aa146a77f859325e079f3bfbfe6d8309af483daa","tags":["web"]},{"url":"https://github.com/patriksimek/vm2","tags":["package"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/v3.11.7","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00425,"epssPercentile":0.37503,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-92940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92940","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-92940","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h85j-hv3c-qfgq","ok":true,"note":"GHSA-h85j-hv3c-qfgq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-92940","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}