CVE-2026-84381Pydantic Httpx2 cleartext transmission of sensitive information
CVSS score
8.1
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.08%
0.08% chance of exploitation in the next 30 days, higher than 0.12% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running pydantic Httpx2, pydantic Httpcore2 and compare its version with the affected versions.
Update to a fixed version
- Update Httpx2, Httpcore2 to 2.10.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Adjacent
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| pydantic Httpx2 | >= 2.6.0, < 2.10.0 |
| pydantic Httpcore2 | < 2.10.0 |
Weakness
- CWE-319 cleartext transmission of sensitive information
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-84381 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-84381?
CVE-2026-84381 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Pydantic Httpx2 (>= 2.6.0, < 2.10.0), Pydantic Httpcore2 (< 2.10.0)
Is there a patch for CVE-2026-84381?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.