Vulnerabilities · 2025 · Python
CVE-2025-50181
Python Urllib3 vulnerability
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.
Affected products
Urllib3. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Urllib3 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v
- github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857
- nvd.nist.gov/vuln/detail/CVE-2025-50181
- github.com/urllib3/urllib3/releases/tag/2.5.0
- github.com/advisories/GHSA-pq67-6m6q-mj2v
- nvd.nist.gov/vuln/detail/CVE-2025-50181
- cve.org/CVERecord?id=CVE-2025-50181
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-48379CVE-2025-47273CVE-2025-13837CVE-2025-13836All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.