CVE-2025-50181

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

Published Jun 19, 2025 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4421-1 python-urllib3 security update
Debian DSA Debian DSA DSA-6102-1 python-urllib3 security update
EUVD EUVD EUVD-2025-18908 urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
Github GHSA Github GHSA GHSA-pq67-6m6q-mj2v urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
Ubuntu USN Ubuntu USN USN-7599-1 urllib3 vulnerabilities
Ubuntu USN Ubuntu USN USN-7599-2 pip vulnerability
History
Type Values Removed Values Added
First Time appeared Python
Python urllib3
CPEs cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*
Vendors & Products Python
Python urllib3
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 22, 2025, 6:44 PM
Reserved
Jun 13, 2025, 7:17 PM
Status
Modified
Published
Jun 19, 2025, 1:15 AM
Modified
Jun 17, 2026, 9:34 AM
Severity
Moderate
Public date
Jun 19, 2025, 1:08 AM