CVE-2026-84380: HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
HTTPX2 can automatically add a Content-Length header to a request that already contains a caller-supplied Transfer-Encoding header. The resulting HTTP/1.1 request contains both framing headers, which can create an ambiguous message boundary and enable request smuggling or connection desynchronization when processed by intermediaries that disagree about which header takes precedence.
References
- github.com/advisories/GHSA-pf96-p4fj-6566
- github.com/pydantic/httpx2/commit/829b93a2393212996f613e635261f777d9ec6eab
- github.com/pydantic/httpx2/pull/1137
- github.com/pydantic/httpx2/releases/tag/v2.11.0
- github.com/pydantic/httpx2/security/advisories/GHSA-pf96-p4fj-6566
- nvd.nist.gov/vuln/detail/CVE-2026-84380
Code Behaviors & Features
Detect and mitigate CVE-2026-84380 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →