CVE-2026-21441
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 2.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.9% in the next 30 days (EPSS).
- Severity: 8.9 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.9% · EPSS, next 30 days
- Weakness
- CWE-409
- Record status
- Modified
Affected
- Python urllib3 < 2.6.3
Attack profile CVSS 4.0 · 8.9
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- Present
- Privileges needed
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
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/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
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-21441.md and follow it. Check whether this project is affected by CVE-2026-21441. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b
- https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99
References
- https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b
- https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99
- https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html
- https://access.redhat.com/errata/RHSA-2026:0981
- https://access.redhat.com/errata/RHSA-2026:0990
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:1038
- https://access.redhat.com/errata/RHSA-2026:1041
- https://access.redhat.com/errata/RHSA-2026:1042
- https://access.redhat.com/errata/RHSA-2026:1086
- https://access.redhat.com/errata/RHSA-2026:1087
- https://access.redhat.com/errata/RHSA-2026:1088
- https://access.redhat.com/errata/RHSA-2026:1089
- https://access.redhat.com/errata/RHSA-2026:1166
- https://access.redhat.com/errata/RHSA-2026:1168
- https://access.redhat.com/errata/RHSA-2026:1176
- https://access.redhat.com/errata/RHSA-2026:1224
- https://access.redhat.com/errata/RHSA-2026:1226
- https://access.redhat.com/errata/RHSA-2026:1239
- https://access.redhat.com/errata/RHSA-2026:1240
- https://access.redhat.com/errata/RHSA-2026:1241
- https://access.redhat.com/errata/RHSA-2026:1254
- https://access.redhat.com/errata/RHSA-2026:1485
- https://access.redhat.com/errata/RHSA-2026:14877
- https://access.redhat.com/errata/RHSA-2026:1504