CVE-2026-84381
CVE-2026-84381 · HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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 8.1 · Hoch · EPSS 0,1% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · python
Betroffene Produkte und Versionen
httpx2
- Softwareversionen
- >= 2.6.0, < 2.10.0: Betroffen
Keine Korrektur veröffentlicht
httpcore2
- Softwareversionen
- < 2.10.0: Betroffen
Keine Korrektur veröffentlicht
httpcore2 PyPI
- Softwareversionen
- 0.0.0
- 2.0.0
- 2.0.0b1
- 2.1.0
- 2.2.0
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0
- 2.7.0
- 2.8.0
- 2.9.0
- 2.9.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.10.0
Auf 2.10.0 aktualisieren
httpx2 PyPI
- Softwareversionen
- 2.6.0
- 2.7.0
- 2.8.0
- 2.9.0
- 2.9.1
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 2.6.0, < 2.10.0
Auf 2.10.0 aktualisieren
python-httpx2 Ubuntu:26.10
- Softwareversionen
- 2.5.0-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p
- https://github.com/pydantic/httpx2/pull/1104
- https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453
- https://github.com/pydantic/httpx2/releases/tag/v2.10.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-84381