{"id":"CVE-2026-84379","published":"2026-09-02T17:57:17Z","modified":"2026-09-02T18:20:46Z","title":"HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers","vendor":"pydantic","product":"httpx2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.30811,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/pydantic/httpx2/security/advisories/GHSA-h4x7-gw46-3wm6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/httpx2/pull/1142","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/commit/de96d810ee4e309d118982fe7084a46a2bcd600d","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/releases/tag/v2.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.16},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"pydantic","affectedVersions":[{"vendor":"pydantic","product":"httpx2","versions":["< 2.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-02T18:20:04.628894Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"httpx2","vulnerableRanges":["<2.11.0"],"patched":["2.11.0"],"from":["GHSA-h4x7-gw46-3wm6","PYSEC-2026-3848"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-70246","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-84378","published":"2026-09-02","fixed":"2.10.0","kev":false,"link":{"from":"CVE-2026-84378","to":"CVE-2026-84379","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:httpx2","fromFixed":"2.10.0","toFixed":"2.11.0","daysApart":0}]}},{"cve":"CVE-2026-84381","published":"2026-09-02","fixed":"2.10.0","kev":false},{"cve":"CVE-2026-84379","published":"2026-09-02","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-84380","published":"2026-09-02","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-84382","published":"2026-09-02","fixed":"2.12.0","kev":false,"link":{"from":"CVE-2026-84379","to":"CVE-2026-84382","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:httpx2","fromFixed":"2.11.0","toFixed":"2.12.0","daysApart":0}]}}],"package":"PyPI:httpx2"}}