urllib3 vulnerabilities

HTTP library with thread-safe connection pooling, file post, and more.

Registry
PyPI
Latest
2.8.0
License
MIT

22 known advisories

The latest version, 2.8.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'urllib3>=2.8.0'

Is your project on an affected urllib3?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for urllib3

  • MediumCVE-2026-97688GHSA-gh4c-6fx4-qh6g30 Sept 2026

    urllib3: Chunked Deflate streaming can enter an infinite loop

    Affected
    >=2.6.2 <2.8.0
    Fixed in
    2.8.0
  • HighCVE-2026-97689GHSA-vxq7-64xx-v4gw30 Sept 2026

    urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory

    Affected
    >=1.10.3 <2.8.0
    Fixed in
    2.8.0
  • HighCVE-2026-97687GHSA-8988-9cw3-xx7730 Sept 2026

    urllib3: HTTPS proxy TLS configuration may be ignored or overridden

    Affected
    >=1.26.0 <2.8.0
    Fixed in
    2.8.0
  • HighCVE-2026-44432GHSA-mf9v-mfxr-j63j11 May 2026

    urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API

    Affected
    >=2.6.0 <2.7.0
    Fixed in
    2.7.0
  • HighCVE-2026-44431GHSA-qccp-gfcp-xxvc11 May 2026

    urllib3: Sensitive headers forwarded across origins in proxied low-level redirects

    Affected
    >=1.23 <2.7.0
    Fixed in
    2.7.0
  • HighCVE-2026-21441GHSA-38jv-5279-wg997 Jan 2026

    Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)

    Affected
    >=1.22 <2.6.3
    Fixed in
    2.6.3
  • HighCVE-2025-66471GHSA-2xpw-w6gg-jr375 Dec 2025

    urllib3 streaming API improperly handles highly compressed data

    Affected
    >=1.0 <2.6.0
    Fixed in
    2.6.0
  • HighCVE-2025-66418GHSA-gm62-xv2j-4w535 Dec 2025

    urllib3 allows an unbounded number of links in the decompression chain

    Affected
    >=1.24 <2.6.0
    Fixed in
    2.6.0
  • MediumCVE-2025-50182GHSA-48p4-8xcf-vxj518 Jun 2025

    urllib3 does not control redirects in browsers and Node.js

    Affected
    >=2.2.0 <2.5.0
    Fixed in
    2.5.0
  • MediumCVE-2025-50181GHSA-pq67-6m6q-mj2v18 Jun 2025

    urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation

    Affected
    <2.5.0
    Fixed in
    2.5.0
  • MediumCVE-2024-37891GHSA-34jh-p97f-mpxf17 Jun 2024

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

    Affected
    <1.26.19 · >=2.0.0 <2.2.2
    Fixed in
    1.26.19, 2.2.2
  • MediumCVE-2023-45803GHSA-g4mx-q9vg-27p417 Oct 2023

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

    Affected
    >=2.0.0 <2.0.7 · <1.26.18
    Fixed in
    1.26.18, 2.0.7
  • MediumCVE-2018-25091GHSA-gwvm-45gx-3cf815 Oct 2023

    Authorization Header forwarded on redirect

    Affected
    <1.24.2
    Fixed in
    1.24.2
  • HighCVE-2023-43804GHSA-v845-jxx5-vc9f2 Oct 2023

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

    Affected
    >=2.0.0 <2.0.6 · <1.26.17
    Fixed in
    1.26.17, 2.0.6
  • MediumCVE-2016-9015GHSA-v4w5-p2hg-8fh617 May 2022

    Urllib3 Incorrect Certificate Validation

    Affected
    >=1.17 <1.18.1
    Fixed in
    1.18.1
  • MediumCVE-2019-11236GHSA-r64q-w8jr-g9qp13 May 2022

    Improper Neutralization of CRLF Sequences in urllib3 library for Python

    Affected
    <1.24.3
    Fixed in
    1.24.3
  • MediumCVE-2020-26137GHSA-wqvq-5m8c-6g2418 Jun 2021

    CRLF injection in urllib3

    Affected
    <1.25.9
    Fixed in
    1.25.9
  • HighCVE-2021-33503GHSA-q2q7-5pp4-w6pg1 Jun 2021

    Catastrophic backtracking in URL authority parser when passed URL containing many @ characters

    Affected
    >=1.25.4 <1.26.5
    Fixed in
    1.26.5
  • HighCVE-2020-7212GHSA-hmv2-79q8-fv6g30 Apr 2021

    Uncontrolled Resource Consumption in urllib3

    Affected
    >=1.25.2 <1.25.8
    Fixed in
    1.25.8
  • MediumCVE-2021-28363GHSA-5phf-pp7p-vc2r19 Mar 2021

    Using default SSLContext for HTTPS requests in an HTTPS proxy doesn't verify certificate hostname for proxy connection

    Affected
    >=1.26.0 <1.26.4
    Fixed in
    1.26.4
  • HighCVE-2019-11324GHSA-mh33-7rrq-662w19 Apr 2019

    Improper Certificate Validation in urllib3

    Affected
    <1.24.2
    Fixed in
    1.24.2
  • CriticalCVE-2018-20060GHSA-www2-v7xj-xrc612 Dec 2018

    Exposure of Sensitive Information to an Unauthorized Actor in urllib3

    Affected
    <1.23
    Fixed in
    1.23

Is your urllib3 version vulnerable?

Which of your client projects still run an old urllib3?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.