{"id":"CVE-2026-84381","state":"PUBLISHED","title":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","description":"HTTPX2 is a next generation HTTP client for Python. Prior to 2.10.0, httpcore2 fails to start TLS in src/httpcore2/httpcore2/_sync/socks_proxy.py and src/httpcore2/httpcore2/_async/socks_proxy.py when the remote origin uses wss through a SOCKS5 proxy because the TLS upgrade condition only recognizes https. HTTPX2 exposes the flaw through Client.websocket() and AsyncClient.websocket() from 2.6.0 through 2.9.1, so the opening handshake, query parameters, Authorization headers, cookies, and subsequent frames can cross the proxy path in plaintext without certificate verification. An attacker controlling or observing that path can read or modify traffic and impersonate the WebSocket server. This issue is fixed in httpcore2 2.10.0 and HTTPX2 2.10.0.","publishedAt":"2026-09-02T18:01:31.126Z","updatedAt":"2026-09-05T01:03:38.291Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pydantic httpx2","pydantic httpcore2"],"affected":[{"vendor":"pydantic","product":"httpx2","versions":[{"version":">= 2.6.0, < 2.10.0","status":"affected"}]},{"vendor":"pydantic","product":"httpcore2","versions":[{"version":"< 2.10.0","status":"affected"}]}],"references":["https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p","https://github.com/pydantic/httpx2/pull/1104","https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453","https://github.com/pydantic/httpx2/releases/tag/v2.10.0"],"weaknesses":["CWE-319"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/84xxx/CVE-2026-84381.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-84381","state":"PUBLISHED","datePublished":"2026-09-02T18:01:31.126Z","dateUpdated":"2026-09-05T01:03:38.291Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-01T16:27:58.130Z"},"containers":{"cna":{"title":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","descriptions":[{"lang":"en","value":"HTTPX2 is a next generation HTTP client for Python. Prior to 2.10.0, httpcore2 fails to start TLS in src/httpcore2/httpcore2/_sync/socks_proxy.py and src/httpcore2/httpcore2/_async/socks_proxy.py when the remote origin uses wss through a SOCKS5 proxy because the TLS upgrade condition only recognizes https. HTTPX2 exposes the flaw through Client.websocket() and AsyncClient.websocket() from 2.6.0 through 2.9.1, so the opening handshake, query parameters, Authorization headers, cookies, and subsequent frames can cross the proxy path in plaintext without certificate verification. An attacker controlling or observing that path can read or modify traffic and impersonate the WebSocket server. This issue is fixed in httpcore2 2.10.0 and HTTPX2 2.10.0."}],"affected":[{"vendor":"pydantic","product":"httpx2","versions":[{"version":">= 2.6.0, < 2.10.0","status":"affected"}]},{"vendor":"pydantic","product":"httpcore2","versions":[{"version":"< 2.10.0","status":"affected"}]}],"references":[{"url":"https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p","name":"https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/httpx2/pull/1104","name":"https://github.com/pydantic/httpx2/pull/1104","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453","name":"https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/releases/tag/v2.10.0","name":"https://github.com/pydantic/httpx2/releases/tag/v2.10.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-319","lang":"en","description":"CWE-319: Cleartext Transmission of Sensitive Information","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-02T18:01:31.126Z"},"source":{"advisory":"GHSA-7mj9-2mp8-4m2p","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-05T01:03:24.776160Z","id":"CVE-2026-84381","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-05T01:03:38.291Z"}}]}}}