# CVE-2026-84379: HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-02T17:57:17.092Z
- Modified: 2026-09-10T12:25:35.236Z
- Also known as: GHSA-h4x7-gw46-3wm6, PYSEC-2026-3848
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- pydantic httpx2: < 2.11.0
- httpx2 (PyPI): before 2.11.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/pydantic/httpx2/security/advisories/GHSA-h4x7-gw46-3wm6> (exploit, web)
- <https://github.com/pydantic/httpx2/pull/1142> (web)
- <https://github.com/pydantic/httpx2/commit/de96d810ee4e309d118982fe7084a46a2bcd600d> (web)
- <https://github.com/pydantic/httpx2/releases/tag/v2.11.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84379> (advisory)
- <https://github.com/pydantic/httpx2> (package)
- <https://pypi.org/project/httpx2> (package)
- <https://github.com/advisories/GHSA-h4x7-gw46-3wm6> (advisory)

## Sources

- CVE List: [CVE-2026-84379](https://www.cve.org/CVERecord?id=CVE-2026-84379), CVE Terms of Use, modified 2026-09-02
- GitHub Advisory Database: [GHSA-h4x7-gw46-3wm6](https://github.com/advisories/GHSA-h4x7-gw46-3wm6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-84379](https://nvd.nist.gov/vuln/detail/CVE-2026-84379), Public domain, modified 2026-09-09
- PyPA Advisory Database: [PYSEC-2026-3848](https://osv.dev/vulnerability/PYSEC-2026-3848), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-84379 · Whole record: https://cve.day/CVE-2026-84379.json · Rebuilt by cve.day 2026-11-25T22:59:36.139Z
