CVE-2025-50182
MEDIUM 6.1CVSS 3.1urllib3 does not control redirects in browsers and Node.js
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.
- Published
- 19 Jun 2025
- Last modified
- 19 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-48p4-8xcf-vxj5PYSEC-2026-1997
- Sources
- NVDJSONOSV GHSA-48p4-8xcf-vxj5JSONOSV PYSEC-2026-1997JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
>= 2.3.0, < 2.5.0 | 2.5.0 |
| OSV | PyPI | urllib3 | >= 2.2.0, < 2.5.0 | 2.5.0 |
References
- https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f · Patch, WEB, FIX
- https://github.com/urllib3/urllib3/releases/tag/2.5.0 · Product, Release Notes, WEB
- https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-50182 · ADVISORY
- https://github.com/urllib3/urllib3 · PACKAGE
- https://pypi.org/project/urllib3 · PACKAGE
- https://github.com/advisories/GHSA-48p4-8xcf-vxj5 · ADVISORY
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jun 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 19 Jun 2025)