CVE-2026-21441: urllib3 vulnerable to decompression-bomb safeguard bypass when following HTTP redirects (streaming API)
Vulnerability summary
CVE-2026-21441 is a high (CVSS 8.9) vulnerability in python urllib3. EPSS estimates a 2.92% chance of exploitation in the next 30 days, higher than 87% of scored vulnerabilities.
Severe, CVSS 8.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 49 · Related 11Timeline
- 07-01-2026PublishedVulnerability first disclosed.
- 17-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
13 scores · 9 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.9HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- OSV · UbuntuEcosystem advisory · calculated8.9HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- OSV · WolfiEcosystem advisory · calculated8.9HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- OSV · ChainguardEcosystem advisory · calculated8.9HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- NVDNIST8.9HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.92%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.92% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard109 products
- airflow-2< 2.11.0-r20
- airflow-3< 3.1.5-r3
- airflow-core-2< 2.11.0-r12
- airflow-core-3< 3.1.5-r1
- ansible-operator< 1.42.2-r2 | < 1.42.0-r6
Wolfi50 products
- airflow-3< 3.1.5-r3
- az< 2.82.0-r0
- checkov< 3.2.499-r0
- confluent-docker-utils< 0.0.163-r1
- dask-gateway< 2025.4.0-r7
Suse17 products
- python-urllib3&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.0.7-150400.7.24.1
- python-urllib3&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.0.7-150400.7.24.1
- python-urllib3&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 2.0.7-150400.7.24.1
- python-urllib3&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 2.0.7-150400.7.24.1
- python-urllib3&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 2.0.7-150400.7.24.1
Opensuse3 products
- python-urllib3&distro=openSUSE Leap 15.6< 2.0.7-150400.7.24.1
- python-urllib3&distro=openSUSE Leap 16.0< 2.5.0-160000.3.1
- python-urllib3&distro=openSUSE Tumbleweed< 2.6.3-1.1
Ubuntu2 products
- python-pipAll versions (No fix recorded)
- python-urllib3All versions (No fix recorded) | < 1.25.8-2ubuntu0.4+esm3 | < 1.26.5-1~exp1ubuntu0.5 | < 2.0.7-1ubuntu0.4 | < 2.3.0-3ubuntu0.2
Alpine1 product
- py3-urllib3< 1.26.18-r2 | < 1.26.20-r1 | < 2.6.3-r0
Debian1 product
- python-urllib3< 2.3.0-3+deb13u1 | < 2.5.0-2 | < 1.26.12-1+deb12u3 | < 1.26.5-1~exp1+deb11u3
PyPI1 product
- urllib3≥ 1.22, < 2.6.3
Python1 product
- urllib3≥ 1.22, < 2.6.3
Redhat1 product
- python-s3transfer< 0:0.1.13-1.el7_9.6
Urllib31 product
- urllib3≥ 1.22, < 2.6.3
11 vendors · 187 products
References
140 links- github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99X Refsource CONFIRMWEBARTICLEREPORTAdvisoryVendor Advisory
- github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7bX Refsource MISCWEBFIXARTICLEREPORTPatch
Show all 100 references
Showing 100 of 140.