CVE Catalog

CVE-2026-84379

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

In HTTPX2 prior to version 2.11.0, a vulnerability was found in FileField.render_headers() in src/httpx2/httpx2/_multipart.py. It directly interpolates attacker-controlled content_type values and custom headers from the files= 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.

Risk Assessment

The vulnerability may allow an attacker to inject headers, potentially leading to altered data interpretation by the server, bypassing security controls, or attacks against other systems.

Recommendation

It is recommended to upgrade to version 2.11.0, which fixes the issue.

Other vulnerabilities in HTTPX2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS