Medium severity · published Jun 19, 2025
CVE-2025-50182
urllib3 is a user-friendly HTTP client library for Python
6.1
CVSS
0.6%
EPSS
No
On KEV
Description
urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Node.js. urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means Python libraries can be used to make HTTP requests from a browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects, but the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior. This issue has been patched in version 2.5.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 49% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
UR
Urllib3 · Python
2.2.0 before 2.5.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-50182
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-50182
Patch
https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f
github.com
https://github.com/urllib3/urllib3/releases/tag/2.5.0
Vendor Advisory
https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5
More from Urllib3
9.8
CVE-2018-20060
urllib3 before version 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme)
8.1
CVE-2026-97687
urllib3: HTTPS proxy TLS configuration may be ignored or overridden
8.1
CVE-2023-43804
urllib3 is a user-friendly HTTP client library for Python
7.5
CVE-2026-97689
urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
7.5
CVE-2026-44432
urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API
