Vulnerability details

CVE-2026-84381

pydantic httpcore2pydantic httpx2

HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies

CVSS 3.1
8.1High

Official 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.

CVSS scores

ScoreVersionSourceVector
8.1High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersionsSource
pydantic httpcore2 < 2.10.0 CVEProject cvelistV5 (CNA)
pydantic httpx2 >= 2.6.0, < 2.10.0 CVEProject cvelistV5 (CNA)

References and advisories

4
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-09-02
Last updated
2026-09-05
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.07%
Probability of exploitation in 30 days
0.1%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-319
    Cleartext Transmission of Sensitive Information