CVE-2025-50182 Details
Description
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.
A vulnerability exists in urllib3, a popular HTTP client library for Python, prior to version 2.5.0, regarding its handling of HTTP redirects when used in a Pyodide runtime. In this environment, which leverages the JavaScript Fetch API or XMLHttpRequest, urllib3's redirect management is ineffective. The library can be used to make HTTP requests from browsers or Node.js, but the redirect parameters are ignored in Pyodide. Instead, the runtime dictates how redirects are handled, often leaving applications vulnerable to server-side request forgery (SSRF) or open redirect exploits. This issue has been addressed in urllib3 version 2.5.0.
Users of urllib3 in Node.js should upgrade to version 2.5.0 or later, where this issue has been fixed. For those using urllib3 in a web browser, no effective remediation is available, as current browser APIs do not allow for proper control over redirects.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python urllib3 | >= 2.2.0, < 2.5.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 22, 2025 | CVE Modified | [email protected] |
| Dec 22, 2025 | Initial Analysis | [email protected] |
| Jun 30, 2025 | CVE Modified | [email protected] |
| Jun 19, 2025 | New CVE Received | [email protected] |