CVE-2025-50181
MEDIUM 6.1CVSS 3.1urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
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.
- Published
- 19 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-pq67-6m6q-mj2vPYSEC-2026-1999
- Sources
- NVDJSONOSV GHSA-pq67-6m6q-mj2vJSONOSV PYSEC-2026-1999JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
< 2.5.0 | 2.5.0 |
| OSV | PyPI | urllib3 | < 2.5.0 | 2.5.0 |
References
- https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857 · Patch, WEB, FIX
- https://github.com/urllib3/urllib3/releases/tag/2.5.0 · WEB
- https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-50181 · ADVISORY
- https://github.com/urllib3/urllib3 · PACKAGE
- https://pypi.org/project/urllib3 · PACKAGE
- https://github.com/advisories/GHSA-pq67-6m6q-mj2v · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 19 Jun 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jun 2025)