CVE-2025-50182urllib3 does not control redirects in browsers and Node.js
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 38%
- Fix
- Named by a source
- CVE published 19 Jun 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+1) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- urllib3 (PyPI): upgrade to 2.5.0 or later on your release line.
- Patch: https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f
- Advisory: https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-50182
- Advisory: https://github.com/advisories/GHSA-48p4-8xcf-vxj5
Who should check
urllib3 (PyPI) pkg:pypi/urllib3
- Affected>= 2.2.0, < 2.5.0Fixed in2.5.0OSV (PYSEC-2026-1997)
python urllib3 product:python/urllib3
- Affected>= 2.3.0, < 2.5.0Affected range ends before2.5.0as published by CPE data (via the NVD API)
urllib3 urllib3 product:urllib3/urllib3
- Affected>= 2.2.0, < 2.5.0Affected range ends before2.5.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-601
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 19 Jun 2025Published
References
- patchhttps://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f
- otherhttps://github.com/urllib3/urllib3/releases/tag/2.5.0
- advisoryhttps://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-50182
- otherhttps://github.com/urllib3/urllib3
- otherhttps://pypi.org/project/urllib3
- advisoryhttps://github.com/advisories/GHSA-48p4-8xcf-vxj5
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-50182 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-48p4-8xcf-vxj5 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-1997 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 16 min ago · osv 16 min ago · nvd 77 min ago · epss 15 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-48p4-8xcf-vxj5, PYSEC-2026-1997