← back
CVE-2025-50181

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

CVSS 5.3 MEDIUMEPSS 0.4%CWE-601
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
urllib3 · urllib3

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →