CVE-2026-84379

NameCVE-2026-84379
DescriptionHTTPX2 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-httpx2 (PTS)forky2.5.0-1vulnerable
sid2.12.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-httpx2source(unstable)2.12.0-1

Notes

https://github.com/pydantic/httpx2/security/advisories/GHSA-h4x7-gw46-3wm6
https://github.com/pydantic/httpx2/pull/1142
Fixed by: https://github.com/pydantic/httpx2/commit/de96d810ee4e309d118982fe7084a46a2bcd600d (v2.11.0)

Search for package or bug name: Reporting problems