CVE-2026-84379
HTTPX2 is a next generation HTTP client for Python. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pydantic/httpx2/commit/de96d810ee4e309d118982fe7084a46a2bcd600d
- github.com/pydantic/httpx2/pull/1142
- github.com/pydantic/httpx2/releases/tag/v2.11.0
- github.com/pydantic/httpx2/security/advisories/GHSA-h4x7-gw46-3wm6
- nvd.nist.gov/vuln/detail/CVE-2026-84379
- github.com/advisories/GHSA-h4x7-gw46-3wm6
- nvd.nist.gov/vuln/detail/CVE-2026-84379
- cve.org/CVERecord?id=CVE-2026-84379
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.