CVE-2026-84380pydantic httpx2
Medium 5.6 No auth needed
Follow: this CVE · pydantic · pydantic httpx2 We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 5.6
- EPSS
- —
- Auth required
- No
- Published
- Sep 2, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-444
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
HTTPX2 is a next generation HTTP client for Python. Prior to 2.11.0, Request._prepare() in src/httpx2/httpx2/_models.py can add a body-derived Content-Length header to a request that already contains a caller-supplied Transfer-Encoding header because its setdefault() processing checks each default header independently rather than treating the two framing headers as mutually exclusive. Fixed-size byte, JSON, form, and known-length multipart bodies can therefore be serialized over HTTP/1.1 with both headers, allowing request smuggling or connection desynchronization when downstream intermediaries disagree about which framing header takes precedence. This issue is fixed in version 2.11.0.
What to do
- Apply the vendor's security update for httpx2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | httpx2 |
< 2.11.0 |
2.11.0 |
pip install "httpx2>=2.11.0" |
| PyPI | httpx2 |
< 2.11.0 |
2.11.0 |
pip install "httpx2>=2.11.0" |
Per OSV / GitHub Advisories (GHSA-pf96-p4fj-6566, PYSEC-2026-3849). Check the version in your lockfile before upgrading.
Affected products
- pydantic · httpx2
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.