{"id":"CVE-2026-92940","state":"PUBLISHED","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 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.","publishedAt":"2026-09-17T13:46:04.218Z","updatedAt":"2026-09-17T19:20:52.899Z","severity":{"score":10,"label":"Critical","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["patriksimek vm2"],"affected":[{"vendor":"patriksimek","product":"vm2","packageURL":"pkg:npm/vm2","defaultStatus":"unaffected","versions":[{"version":"3.11.3","status":"affected","lessThan":"3.11.7","versionType":"semver"},{"version":"3.11.7","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-h85j-hv3c-qfgq","https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-https-credential-exposure-via-globalagent"],"weaknesses":["CWE-668"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/92xxx/CVE-2026-92940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-92940","state":"PUBLISHED","datePublished":"2026-09-17T13:46:04.218Z","dateUpdated":"2026-09-17T19:20:52.899Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-17T12:42:34.828Z"},"containers":{"cna":{"title":"vm2 3.11.3 through 3.11.6 HTTPS Credential Exposure via globalAgent","descriptions":[{"lang":"en","value":"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":[{"vendor":"patriksimek","product":"vm2","packageURL":"pkg:npm/vm2","defaultStatus":"unaffected","versions":[{"version":"3.11.3","status":"affected","lessThan":"3.11.7","versionType":"semver"},{"version":"3.11.7","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-h85j-hv3c-qfgq","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-h85j-hv3c-qfgq)"},{"url":"https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-https-credential-exposure-via-globalagent","name":"VulnCheck Advisory: vm2 3.11.3 through 3.11.6 HTTPS Credential Exposure via globalAgent","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"LOW","baseScore":10,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":10,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-668","lang":"en","description":"Exposure of Resource to Wrong Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-17T13:46:04.218Z"},"datePublic":"2026-08-24T00:00:00.000Z","credits":[{"lang":"en","value":"Forrof","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T19:15:53.494409Z","id":"CVE-2026-92940","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-17T19:20:52.899Z"}}]}}}