Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-84381— HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies

Quick assessment

Affected
pydantic httpx2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Pydantic HTTPX2是Pydantic组织的一个支持HTTP/2协议的异步HTTP客户端库。 Pydantic HTTPX2 2.6.0版本至2.9.1版本和httpcore2 2.10.0之前版本存在加密问题漏洞,该漏洞源于src/httpcore2/httpcore2/_sync/socks_proxy.py和src/httpcore2/httpcore2/_async/socks_proxy.py中SOCKS5代理的TLS升级条件仅识别https,导致通过SOCKS5代理使用wss连接时未

CVSS 8.1 · High EPSS 0.11% · P1

Affected Version Matrix 2

VendorProduct Version RangeStatus
pydantic httpcore2 < 2.10.0 affected
pydantic httpx2 >= 2.6.0, < 2.10.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-84381

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
敏感数据的明文传输
Source: CVE Program / CVE List V5
Vulnerability Title
Pydantic HTTPX2 加密问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Pydantic HTTPX2是Pydantic组织的一个支持HTTP/2协议的异步HTTP客户端库。 Pydantic HTTPX2 2.6.0版本至2.9.1版本和httpcore2 2.10.0之前版本存在加密问题漏洞,该漏洞源于src/httpcore2/httpcore2/_sync/socks_proxy.py和src/httpcore2/httpcore2/_async/socks_proxy.py中SOCKS5代理的TLS升级条件仅识别https,导致通过SOCKS5代理使用wss连接时未
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pydantic httpx2 >= 2.6.0, < 2.10.0 -
pydantic httpcore2 < 2.10.0 -

II. Public POCs for CVE-2026-84381

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-84381

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-84381 (2)

Vendor Advisories for CVE-2026-84381 (1)

Same Patch Batch · pydantic · 2026-09-02 · 5 CVEs total

CVE-2026-84382 7.5 HIGH HTTPX2: Streaming response decompression does not bound peak memory (decompression amplifi
CVE-2026-84378 5.9 MEDIUM HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
CVE-2026-84380 5.6 MEDIUM HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
CVE-2026-84379 5.3 MEDIUM HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom heade

IV. Related Vulnerabilities

V. Comments for CVE-2026-84381

No comments yet


Leave a comment