Redirect Handling Vulnerability in urllib3 HTTP Client Library
CVE-2025-50181

5.3MEDIUM

Key Information:

Vendor

Urllib3

Status
Vendor
CVE Published:
19 June 2025

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

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-50181 : Redirect Handling Vulnerability in urllib3 HTTP Client Library