PyPI package
urllib3 2.2.2 vulnerabilities, and the version that fixes all of them
urllib3 2.2.2 has 8 known vulnerabilities (6 rated high or critical); 2.8.0 fixes all of them.
PyPI (opens in a new tab) describes it as “HTTP library with thread-safe connection pooling, file post, and more.”
- Known vulnerabilities
- 8
- 6 rated high or critical
- Released
- Jun 17, 2024
- Latest is 2.8.0
- Licence
- MIT
- Dependencies
- None
- Resolved by deps.dev
What to upgrade to
2.8.0 is the closest release with no known vulnerabilities.
2.8.0Upgrade to this
Fixes all 8 known vulnerabilities and the newest 2.x release and the latest release. Released Sep 15, 2026.
No known vulnerabilities
2.8.0 came out on Sep 15, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
8 known vulnerabilities in urllib3 2.2.2
EPSS: top 14%6 rated high or critical. Most serious: CVE-2026-21441, Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API). Upgrading to 2.8.0 fixes all of them.
- LowOutdated
urllib3 2.2.2 is a minor version behind
Latest release is 2.8.0.
Every advisory for urllib3 2.2.2
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalCVE-2026-21441 on OSV.dev (opens in a new tab)GHSA-38jv-5279-wg99EPSS: top 14%
Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
Fixed in 2.6.3. Published Jan 7, 2026.
CriticalCVE-2025-66471 on OSV.dev (opens in a new tab)GHSA-2xpw-w6gg-jr37EPSS: top 49%
urllib3 streaming API improperly handles highly compressed data
Fixed in 2.6.0. Published Dec 5, 2025.
CriticalCVE-2025-66418 on OSV.dev (opens in a new tab)GHSA-gm62-xv2j-4w53EPSS: top 49%
urllib3 allows an unbounded number of links in the decompression chain
Fixed in 2.6.0. Published Dec 5, 2025.
WarningCVE-2025-50181 on OSV.dev (opens in a new tab)GHSA-pq67-6m6q-mj2vEPSS: top 61%
urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
Fixed in 2.5.0. Published Jun 18, 2025.
WarningCVE-2025-50182 on OSV.dev (opens in a new tab)GHSA-48p4-8xcf-vxj5EPSS: top 69%
urllib3 does not control redirects in browsers and Node.js
Fixed in 2.5.0. Published Jun 18, 2025.
CriticalCVE-2026-44431 on OSV.dev (opens in a new tab)GHSA-qccp-gfcp-xxvcEPSS: top 75%
urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
Fixed in 2.7.0. Published May 11, 2026.
CriticalCVE-2026-97689 on OSV.dev (opens in a new tab)GHSA-vxq7-64xx-v4gwEPSS: top 75%
urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
Fixed in 2.8.0. Published Sep 30, 2026.
CriticalCVE-2026-97687 on OSV.dev (opens in a new tab)GHSA-8988-9cw3-xx77EPSS: top 91%
urllib3: HTTPS proxy TLS configuration may be ignored or overridden
Fixed in 2.8.0. Published Sep 30, 2026.
Is urllib3 the only one?
Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly urllib3 2.2.2, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and PyPI. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against PyPI, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.