CVE-2026-84381
published high CVSS 3.1 · 8.1HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pydantic | httpx2 | >= 2.6.0, < 2.10.0 (affected) | GitHub_M · cna |
| pydantic | httpcore2 | < 2.10.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-319 CWE-319: Cleartext Transmission of Sensitive Information
References
4Provider assertions
2GitHub_M · cna
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 740d0fcc38d4e1b975350582fe64112b0391221ce6257b0909b2308c15c4c1ab
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record