CVE-2026-84379
CVE-2026-84379 · HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 5.3 · Media · EPSS 0,3% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
httpx2
- Versiones
- < 2.11.0: Afectada
Sin corrección publicada
python-httpx2 Debian:14
- Versiones
- 2.4.0-1
- 2.5.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.12.0-1
Actualiza a 2.12.0-1
httpx2 PyPI
- Versiones
- 0.0.0
- 2.0.0
- 2.0.0b1
- 2.1.0
- 2.10.0
- 2.2.0
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0
- 2.7.0
- 2.8.0
- 2.9.0
- 2.9.1
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.11.0
Actualiza a 2.11.0
python-httpx2 Ubuntu:26.10
- Versiones
- 2.5.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/pydantic/httpx2/security/advisories/GHSA-h4x7-gw46-3wm6
- https://github.com/pydantic/httpx2/pull/1142
- https://github.com/pydantic/httpx2/commit/de96d810ee4e309d118982fe7084a46a2bcd600d
- https://github.com/pydantic/httpx2/releases/tag/v2.11.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-84379