HTTP Request Smuggling Affecting httpx2 package, versions [,2.11.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (27th 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-PYTHON-HTTPX2-20361639
  • published1 Oct 2026
  • disclosed8 Sept 2026
  • creditUnknown

Introduced: 8 Sep 2026

NewCVE-2026-84380  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade httpx2 to version 2.11.0 or higher.

Overview

httpx2 is a The next generation HTTP client.

Affected versions of this package are vulnerable to HTTP Request Smuggling in Request._prepare(), which applies a generated Content-Length header through setdefault() whenever the body size is known, without checking whether the caller has already supplied a Transfer-Encoding header, so both mutually exclusive framing headers can appear on one HTTP/1.1 request. An attacker can smuggle a request or desynchronize a persistent connection, reaching other requests sharing it, bypassing front end routing or authorization decisions, and poisoning responses or caches, by getting a Transfer-Encoding header and matching body data into a request the application constructs. This requires HTTP/1.1, an application that forwards attacker influenced framing headers into the request, and an intermediary or origin that accepts the conflicting pair rather than rejecting the message outright.

CVSS Base Scores

version 4.0
version 3.1