CVE-2026-84380

published 2 Sep 2026 · updated 2 Sep 2026

HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated

5.6MediumCVSS 5.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pydantic<2.11.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84380 severity on Zeptric[![CVE-2026-84380](https://zeptric.io/badge/cve/CVE-2026-84380.svg)](https://zeptric.io/cve/CVE-2026-84380)