PT-2025-26199 · Pypi+4 · Urllib3+4
Illia-V
·
Published
2025-06-18
·
Updated
2026-05-19
·
CVE-2025-50182
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
urllib3 versions prior to 2.5.0
Description
The issue concerns urllib3, a Python HTTP client library, which does not control redirects in browsers and Node.js prior to version 2.5.0. This library supports being used in a Pyodide runtime, utilizing the JavaScript Fetch API or falling back on XMLHttpRequest, allowing Python libraries to make HTTP requests from a browser or Node.js. However, the retries and redirect parameters are ignored with Pyodide, as the runtime itself determines redirect behavior. Redirects can be used to exploit SSRF vulnerabilities, and applications attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects may remain vulnerable if a Pyodide runtime redirect mechanism is unsuitable.
Recommendations
For versions prior to 2.5.0, upgrade to a patched version of urllib3.
As a temporary workaround, consider restricting the use of urllib3 in Pyodide runtime to minimize the risk of exploitation.
Avoid relying on urllib3 to control the number of redirects for an HTTP request in a Pyodide runtime until the issue is resolved.
Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Ubuntu
Urllib3