CVE-2025-50181urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.6%
- percentile 42%
- Fix
- Named by a source
- CVE published 19 Jun 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.6% (+1) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- urllib3 (PyPI): upgrade to 2.5.0 or later on your release line.
- Patch: https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-50181
- Advisory: https://github.com/advisories/GHSA-pq67-6m6q-mj2v
Who should check
urllib3 (PyPI) pkg:pypi/urllib3
- Affected< 2.5.0Fixed in2.5.0OSV (PYSEC-2026-1999)
python urllib3 product:python/urllib3
- Affected< 2.5.0Affected range ends before2.5.0as published by CPE data (via the NVD API)
urllib3 urllib3 product:urllib3/urllib3
- Affected< 2.5.0Affected range ends before2.5.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-601
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.
Update history
- 19 Jun 2025Published
References
- patchhttps://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857
- otherhttps://github.com/urllib3/urllib3/releases/tag/2.5.0
- exploithttps://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-50181
- otherhttps://github.com/urllib3/urllib3
- otherhttps://pypi.org/project/urllib3
- advisoryhttps://github.com/advisories/GHSA-pq67-6m6q-mj2v
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-50181 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-pq67-6m6q-mj2v (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-1999 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 8 min ago · osv 8 min ago · nvd 69 min ago · epss 7 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-pq67-6m6q-mj2v, PYSEC-2026-1999