CRLF Injection Affecting py3-httpx2 package, versions <2.12.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.26% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-PY3HTTPX2-19698806
  • published12 Sept 2026
  • disclosed2 Sept 2026

Introduced: 2 Sep 2026

NewCVE-2026-84379  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Wolfi py3-httpx2 to version 2.12.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-httpx2 package and not the py3-httpx2 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.