CVE-2026-84379: HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
HTTPX2 serializes the per-file Content-Type and custom headers supplied through the files= tuple API directly into the multipart/form-data body without validating custom header names or values. An attacker who can influence upload metadata passed to HTTPX2 can use CR or LF characters to terminate a multipart part header and inject additional part headers or end the part header block early.
References
- github.com/advisories/GHSA-h4x7-gw46-3wm6
- 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
Code Behaviors & Features
Detect and mitigate CVE-2026-84379 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →