๐Ÿ” CVE Alert

CVE-2026-84381

HIGH 8.1

HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-319
Vendor pydantic
Product httpx2
Published Sep 2, 2026
Last Updated Sep 5, 2026
Stay Ahead of the Next One

Get instant alerts for pydantic httpx2

Be the first to know when new high vulnerabilities affecting pydantic httpx2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

pydantic / httpx2
>= 2.6.0, < 2.10.0
pydantic / httpcore2
< 2.10.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p github.com: https://github.com/pydantic/httpx2/pull/1104 github.com: https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453 github.com: https://github.com/pydantic/httpx2/releases/tag/v2.10.0