Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. httpx2
  4. ›
  5. CVE-2026-84381

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

September 8, 2026

httpcore2 does not start TLS for wss:// connections routed through a SOCKS5 proxy. The WebSocket opening handshake and all subsequent frames are sent in plaintext through the proxy path, despite the caller selecting the secure wss scheme.

The transport flaw affects httpcore2 releases before 2.10.0. HTTPX2 exposed this behavior through its public Client.websocket() and AsyncClient.websocket() APIs from 2.6.0 through 2.9.1.

References

  • github.com/advisories/GHSA-7mj9-2mp8-4m2p
  • github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453
  • github.com/pydantic/httpx2/pull/1104
  • github.com/pydantic/httpx2/releases/tag/v2.10.0
  • github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p
  • nvd.nist.gov/vuln/detail/CVE-2026-84381

Code Behaviors & Features

Detect and mitigate CVE-2026-84381 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.6.0 before 2.10.0

Fixed versions

  • 2.10.0

Solution

Upgrade to version 2.10.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-319: Cleartext Transmission of Sensitive Information

Source file

pypi/httpx2/CVE-2026-84381.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:19 +0000.