CVE-2025-50181 Details
Description
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.
A vulnerability exists in urllib3, a popular HTTP client library for Python, in versions prior to 2.5.0. The issue arises because redirects can be disabled at the PoolManager level by setting the retries parameter in a way that avoids following redirects. However, this workaround is ineffective, as the library currently ignores the retries setting when managing redirects. As a result, applications attempting to prevent server-side request forgery (SSRF) or open redirect vulnerabilities by disabling redirects through the PoolManager will remain exposed. The vulnerability has been addressed in urllib3 version 2.5.0.
Users can upgrade to urllib3 version 2.5.0 or later, where this issue has been fixed. If immediate upgrading is not possible, redirects can be managed at the request level instead of through the PoolManager.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python urllib3 | < 2.5.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 22, 2025 | CVE Modified | [email protected] |
| Sep 18, 2025 | Initial Analysis | [email protected] |
| Jun 19, 2025 | New CVE Received | [email protected] |