Redirect Handling Vulnerability in urllib3 HTTP Client Library
CVE-2025-50181
5.3MEDIUM
What is CVE-2025-50181?
A vulnerability in the urllib3 HTTP client library for Python allows for the potential disabling of redirects when using a PoolManager configured with specific retry settings. This affects applications trying to mitigate Server-Side Request Forgery (SSRF) or open redirect issues by disabling redirects at the PoolManager level. Despite requests and botocore being unaffected by default, applications utilizing this configuration remain susceptible to exploitation. The issue was addressed in version 2.5.0, which provides enhanced redirect handling.
Affected Version(s)
urllib3 < 2.5.0