Vulnerabilities · 2025 · Python
CVE-2025-50182
Python Urllib3 vulnerability
urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Node.js. urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means Python libraries can be used to make HTTP requests from a browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects, but the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior. 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-48p4-8xcf-vxj5
- github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f
- nvd.nist.gov/vuln/detail/CVE-2025-50182
- github.com/urllib3/urllib3/releases/tag/2.5.0
- github.com/advisories/GHSA-48p4-8xcf-vxj5
- nvd.nist.gov/vuln/detail/CVE-2025-50182
- cve.org/CVERecord?id=CVE-2025-50182
More vulnerabilities in Python products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.