HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-319.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pydantic | httpx2 | 2.6.0 to before 2.10.0 | 2.10.0 | Patch available | CNA |
| pydantic | httpcore2 | before 2.10.0 | 2.10.0 | Patch available | CNA |
| — | httpcore2 (PyPI) | before 2.10.0 | 2.10.0 | Patch available | GHSA-7mj9-2mp8-4m2p |
| — | httpx2 (PyPI) | 2.6.0 to before 2.10.0 | 2.10.0 | Patch available | GHSA-7mj9-2mp8-4m2p |
- httpx2 Vendorpydantic Affected 2.6.0 to before 2.10.0 Fixed in 2.10.0 Patch available CNA
- httpcore2 Vendorpydantic Affected before 2.10.0 Fixed in 2.10.0 Patch available CNA
- httpcore2 (PyPI) Vendor— Affected before 2.10.0 Fixed in 2.10.0 Patch available GHSA-7mj9-2mp8-4m2p
- httpx2 (PyPI) Vendor— Affected 2.6.0 to before 2.10.0 Fixed in 2.10.0 Patch available GHSA-7mj9-2mp8-4m2p
Remediation
- Fix · CNA httpx2 (pydantic) Fixed in 2.10.0
- Fix · CNA httpcore2 (pydantic) Fixed in 2.10.0
- Fix · GHSA-7mj9-2mp8-4m2p httpcore2 (PyPI) Fixed in 2.10.0 Advisory →
- Fix · GHSA-7mj9-2mp8-4m2p httpx2 (PyPI) Fixed in 2.10.0 Advisory →
Red Hat 3 advisories
- RHSA-2026:86891 Released 2026-10-21 · Red Hat rating CriticalRHOAI 3.5.2 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9 +47
- RHSA-2026:82371 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference 3.5.2 (spyre)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-spyre-rhel9
- RHSA-2026:82061 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference Tech Preview 3.5.2 (Gaudi)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-gaudi-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Lightspeed Core | Affected | No fix yet |
| Red Hat AI Inference Server 3.5 | Fixed | RHSA-2026:82061, RHSA-2026:82371 |
| Red Hat OpenShift AI 3.5 | Fixed | RHSA-2026:86891 |
Not affected: 6 products
- Exploit Intelligence
- Migration Toolkit for Applications 8
- OpenShift Lightspeed
- Red Hat Enterprise Linux command line assistant
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 3.5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-84381
- 2026-10-03 Alias added: GHSA-7mj9-2mp8-4m2p
- 2026-10-13 Fix available: RHSA-2026:82061 · Red Hat
- 2026-10-13 Fix available: Red Hat AI Inference Server 3.5 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82371 · Red Hat
- 2026-10-15 Affected versions changed · Red Hat
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
- 2026-10-22 Fix available: Red Hat OpenShift AI 3.5 · Red Hat
References
More pydantic vulnerabilities
- TI-2024-03518 Regular expression denial of service in Pydantic < 2.4.0 CVSS 3.1HIGH 7.5
- TI-2026-57990 HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers CVSS 3.1MEDIUM 5.3
- TI-2026-41916 Path traversal in pydantic-settings CVSS 3.1MEDIUM 5.3
- TI-2026-20687 Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling CVSS 3.1HIGH 8.6
- TI-2026-57993 HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification) CVSS 3.1HIGH 7.5
- TI-2026-69551 Pydantic AI keeps concurrency slots after streams end early CVSS 3.1HIGH 7.5
Sources
- CVE-2026-84381 · CVE Program
- CVE-2026-84381 · NVD
- FIRST EPSS
- GHSA-7mj9-2mp8-4m2p · GitHub Advisory Database · CC BY 4.0
- CVE-2026-84381 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences