CVE-2026-84381

Source
https://cve.org/CVERecord?id=CVE-2026-84381
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84381.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-84381
Aliases
  • GHSA-7mj9-2mp8-4m2p
Published
2026-09-02T18:01:31.126Z
Modified
2026-09-04T03:47:27.306834823Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
Details

HTTPX2 is a next generation HTTP client for Python. Prior to 2.10.0, httpcore2 fails to start TLS in src/httpcore2/httpcore2/sync/socksproxy.py and src/httpcore2/httpcore2/async/socksproxy.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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84381.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-319"
    ]
}
References

Affected packages

Git / github.com/pydantic/httpx2

Affected ranges

Type
GIT
Repo
https://github.com/pydantic/httpx2
Events
Database specific
Show details
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "2.6.0"
        },
        {
            "fixed": "2.9.1"
        }
    ]
}

Affected versions

v2.*
v2.6.0
v2.7.0
v2.8.0
v2.9.0
v2.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84381.json"