PyPI package

urllib3 1.22.0 vulnerabilities, and the version that fixes all of them

urllib3 1.22.0 has 12 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
12
6 rated high or critical
Released
Jul 20, 2017
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.

  • 1.26.20

    Newest 1.x release. Released Aug 29, 2024.

    7 known vulnerabilities, worst rated warning
  • 2.8.0Upgrade to this

    Fixes all 12 known vulnerabilities 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

Every advisory for urllib3 1.22.0

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.

  1. CriticalCVE-2018-20060 on OSV.dev (opens in a new tab)GHSA-www2-v7xj-xrc6EPSS: top 9%

    Exposure of Sensitive Information to an Unauthorized Actor in urllib3

    Fixed in 1.23. Published Dec 12, 2018.

  2. 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.

  3. CriticalCVE-2019-11324 on OSV.dev (opens in a new tab)GHSA-mh33-7rrq-662wEPSS: top 14%

    Improper Certificate Validation in urllib3

    Fixed in 1.24.2. Published Apr 19, 2019.

  4. WarningCVE-2020-26137 on OSV.dev (opens in a new tab)GHSA-wqvq-5m8c-6g24EPSS: top 18%

    CRLF injection in urllib3

    Fixed in 1.25.9. Published Jun 18, 2021.

  5. WarningCVE-2019-11236 on OSV.dev (opens in a new tab)GHSA-r64q-w8jr-g9qpEPSS: top 19%

    Improper Neutralization of CRLF Sequences in urllib3 library for Python

    Fixed in 1.24.3. Published May 13, 2022.

  6. CriticalCVE-2023-43804 on OSV.dev (opens in a new tab)GHSA-v845-jxx5-vc9fEPSS: top 29%

    `Cookie` HTTP header isn't stripped on cross-origin redirects

    Fixed in 1.26.17. Published Oct 2, 2023.

  7. WarningCVE-2024-37891 on OSV.dev (opens in a new tab)GHSA-34jh-p97f-mpxfEPSS: top 34%

    urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects

    Fixed in 1.26.19. Published Jun 17, 2024.

  8. 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.

  9. WarningCVE-2018-25091 on OSV.dev (opens in a new tab)GHSA-gwvm-45gx-3cf8EPSS: top 53%

    Authorization Header forwarded on redirect

    Fixed in 1.24.2. Published Oct 15, 2023.

  10. WarningCVE-2023-45803 on OSV.dev (opens in a new tab)GHSA-g4mx-q9vg-27p4EPSS: top 53%

    urllib3's request body not stripped after redirect from 303 status changes request method to GET

    Fixed in 1.26.18. Published Oct 17, 2023.

  11. 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.

  12. 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.

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.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly urllib3 1.22.0, 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.