Skip to main content
CVE-2026-21441VulnerabilityPublished Updated

Python urllib3: urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the

Affects python-urllib3Source GCVE Database

0
Compare
Authoritative record:CVE-2026-21441· High 8.9

Not known to be exploited · CVSS 8.9 High · fixed in 1.25.8-2ubuntu0.4+esm3 : patch python-urllib3 soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
8.9High
How severe the flaw is on the 0–10 CVSS scale.

Sources agree

CVSS scores by source
CNA (GitHub_M)CVSS 4.08.9
ADP (redhat-SADP)CVSS 3.17.5
EPSS
2.9% chance of exploitation in 30 days – higher than 87% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.25.8-2ubuntu0.4+esm3, 1.26.5-1~exp1ubuntu0.5, 2.0.7-1ubuntu0.4 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-pippkg:deb/ubuntu/python-pip?arch=source&distro=stonkingOther threatsAffected
  • =25.1.1+dfsg-1ubuntu2
  • =26.1.2+dfsg-1
Fixed in–
Ubuntu Pro 26.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 25.1.1+dfsg-1ubuntu2 – 25.1.1+dfsg-1ubuntu2+esm3
4 affected builds
Fixed in–
Ubuntu 25.10python-pippkg:deb/ubuntu/python-pip?arch=source&distro=questingOther threatsAffected
  • 25.0+dfsg-1 – 25.1.1+dfsg-1ubuntu2
4 affected builds
Fixed in–
Ubuntu 25.10python-urllib3pkg:deb/ubuntu/python-urllib3?arch=source&distro=questingOther threatsAffected
  • <2.3.0-3ubuntu0.2
Fixed in
  • 2.3.0-3ubuntu0.2
Ubuntu 24.04 LTSpython-urllib3pkg:deb/ubuntu/python-urllib3?arch=source&distro=nobleOther threatsAffected
  • <2.0.7-1ubuntu0.4
Fixed in
  • 2.0.7-1ubuntu0.4
Ubuntu Pro 24.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 23.2+dfsg-1 – 24.0+dfsg-1ubuntu1.3+esm3
10 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption. Starting in version 1.22 and prior to version 2.6.3, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client. Applications and libraries are affected when they stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects. Users should upgrade to at least urllib3 v2.6.3, in which the library does not decode content of redirect responses when `preload_content=False`. If upgrading is not immediately possible, disable redirects by setting `redirect=False` for requests to untrusted source.

References

Community reviews

Loading reviews…