CVE-2026-84381
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | High8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.08% · top 100% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIhttpcore2GHSA-7mj9-2mp8-4m2p (opens in a new tab)
- PyPIhttpx2GHSA-7mj9-2mp8-4m2p (opens in a new tab)
References (4)
- https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p (opens in a new tab)x_refsource_CONFIRM
- https://github.com/pydantic/httpx2/pull/1104 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/httpx2/releases/tag/v2.10.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7mj9-2mp8-4m2p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-84381)Record last updated .