{"id":"CVE-2026-84381","published":"2026-09-02T18:01:31Z","modified":"2026-09-05T01:03:38Z","title":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","vendor":"pydantic","product":"httpx2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00079,"percentile":0.00144,"provenance":"source"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"references":[{"url":"https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/httpx2/pull/1104","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/releases/tag/v2.10.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":0.03},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"pydantic","affectedVersions":[{"vendor":"pydantic","product":"httpx2","versions":[">= 2.6.0, < 2.10.0"]},{"vendor":"pydantic","product":"httpcore2","versions":["< 2.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-05T01:03:24.776160Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"httpcore2","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-7mj9-2mp8-4m2p","PYSEC-2026-3844"],"provenance":"source"},{"ecosystem":"PyPI","package":"httpx2","vulnerableRanges":[">=2.6.0, <2.10.0"],"patched":["2.10.0"],"from":["GHSA-7mj9-2mp8-4m2p","PYSEC-2026-3845"],"provenance":"source"}],"summary":{"text":"The httpx2 Python HTTP client, via its httpcore2 component's SOCKS5 proxy handling in the sync and async socks_proxy modules, fails to start TLS for wss:// WebSocket origins, so WebSocket connections made through Client.websocket() or AsyncClient.websocket() in versions 2.6.0 through 2.9.1 are sent in cleartext. An attacker who controls or can observe the SOCKS proxy path can read or modify the handshake, headers, cookies and frames and impersonate the WebSocket server, with no authentication or user interaction required, provided the client routes wss traffic through a SOCKS5 proxy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:30Z"},"euvd":{"id":"EUVD-2026-70250","exploited":false,"provenance":"source"}}