CVE-2026-84379
published medium CVSS 3.1 · 5.3HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pydantic | — | httpx2< 2.11.0 | Affected | Not stated | GitHub_M |
Description
HTTPX2 is a next generation HTTP client for Python. Prior to 2.11.0, FileField.render_headers() in src/httpx2/httpx2/_multipart.py directly interpolates attacker-controlled content_type values and custom headers from the files= three-element (filename, content, content_type) tuple and the files= four-element (filename, content, content_type, headers) tuple into multipart/form-data part headers without validating header names or values. CR or LF characters can terminate a part header, inject additional part headers, or end the part header block early, allowing a downstream multipart parser to treat attacker-supplied lines as genuine headers and potentially alter part semantics or bypass header-based checks. This issue is fixed in version 2.11.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pydantic | httpx2 | < 2.11.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
4Provider assertions
2GitHub_M · cna
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0fa11bc342f13509d35eed3eeca7df1e503b866139d5cad7e91cd1910f1ce6fe
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record