Live threats

All CVEs / pydantic

CVE-2026-84381pydantic httpx2

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
—
Auth required
No
Published
Sep 2, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-319
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for httpx2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI httpcore2 < 2.10.0 2.10.0 pip install "httpcore2>=2.10.0"
PyPI httpcore2 < 2.10.0 2.10.0 pip install "httpcore2>=2.10.0"
PyPI httpx2 ≥ 2.6.0 < 2.10.0 2.10.0 pip install "httpx2>=2.10.0"
PyPI httpx2 ≥ 2.6.0 < 2.10.0 2.10.0 pip install "httpx2>=2.10.0"

Per OSV / GitHub Advisories (GHSA-7mj9-2mp8-4m2p, PYSEC-2026-3844, PYSEC-2026-3845). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.