{"cve":"CVE-2026-84381","nvd":{"published":"2026-09-02T19:18:08.217","modified":"2026-09-09T21:05:23.237","status":"Awaiting Analysis","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-319"],"references":["https://github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453","https://github.com/pydantic/httpx2/pull/1104","https://github.com/pydantic/httpx2/releases/tag/v2.10.0","https://github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:50:50.842544443+00:00"},"epss":{"cve":"CVE-2026-84381","score":0.00115,"percentile":0.01559,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7mj9-2mp8-4m2p","url":"https://osv.dev/vulnerability/GHSA-7mj9-2mp8-4m2p","summary":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","modified":"2026-09-10T12:25:50.011150386Z","packages":[{"ecosystem":"PyPI","name":"httpcore2","purl":"pkg:pypi/httpcore2","ranges":["<2.10.0"],"fixed":["2.10.0"]},{"ecosystem":"PyPI","name":"httpx2","purl":"pkg:pypi/httpx2","ranges":[">=2.6.0 <2.10.0"],"fixed":["2.10.0"]}]},{"id":"PYSEC-2026-3844","url":"https://osv.dev/vulnerability/PYSEC-2026-3844","summary":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","modified":"2026-09-10T12:25:50.011150386Z","packages":[{"ecosystem":"PyPI","name":"httpcore2","purl":"pkg:pypi/httpcore2","ranges":["<2.10.0"],"fixed":["2.10.0"]}]},{"id":"PYSEC-2026-3845","url":"https://osv.dev/vulnerability/PYSEC-2026-3845","summary":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","modified":"2026-09-10T12:25:50.011150386Z","packages":[{"ecosystem":"PyPI","name":"httpx2","purl":"pkg:pypi/httpx2","ranges":[">=2.6.0 <2.10.0"],"fixed":["2.10.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}