Vulnerability
CVE-2026-84379
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.
13 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-3v6h-h366-4vr3
- CGA-49pw-p3pc-r2mh
- CGA-c7hh-gg67-rxp6
- CGA-c8qf-5273-w5jf
- CGA-jgpc-7x4m-hw69
- CGA-mpv7-v75f-336m
- CGA-q3gm-xj8r-jvwc
- CGA-qj2r-4642-j4jh
- CGA-xhqw-wv99-pf22
-
DEBIAN-CVE-2026-84379
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…
-
GHSA-h4x7-gw46-3wm6
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
-
PYSEC-2026-3848
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
-
UBUNTU-CVE-2026-84379
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…