CVE-2026-84380
MEDIUM 5.6CVSS 3.1HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
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.
- Published
- 2 Sep 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-444
- Also known as
- GHSA-pf96-p4fj-6566PYSEC-2026-3849
- Sources
- NVDJSONOSV GHSA-pf96-p4fj-6566JSONOSV PYSEC-2026-3849JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | httpx2 | < 2.11.0 | 2.11.0 |
References
- https://github.com/pydantic/httpx2/commit/829b93a2393212996f613e635261f777d9ec6eab · WEB
- https://github.com/pydantic/httpx2/pull/1137 · WEB
- https://github.com/pydantic/httpx2/releases/tag/v2.11.0 · WEB
- https://github.com/pydantic/httpx2/security/advisories/GHSA-pf96-p4fj-6566 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-84380 · ADVISORY
- https://github.com/pydantic/httpx2 · PACKAGE
- https://pypi.org/project/httpx2 · PACKAGE
- https://github.com/advisories/GHSA-pf96-p4fj-6566 · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 2 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Sep 2026)