Home / Python / Urllib3 / CVE-2018-25091
CVE-2018-25091: is it exploited, and which versions of Python Urllib3 are affected and fixed?
CVE-2018-25091 is an open redirect vulnerability in Python Urllib3. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: urllib3 before 1.24.2 (GitHub advisory GHSA-gwvm-45gx-3cf8). Fixed in 1.24.2 (GitHub advisory GHSA-gwvm-45gx-3cf8). Severity: Medium (6.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2018-25091?
urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).
From the CVE record by mitre, last updated September 16, 2024, 19:01 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | urllib3 | < 1.24.2 | 1.24.2 | GHSA-gwvm-45gx-3cf8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: Authorization Header forwarded on redirect.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | urllib3 | before 1.24.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:54 UTC.
How severe is CVE-2018-25091?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-25091 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 16, 2024)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-601 URL Redirection to Untrusted Site
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/urllib3/urllib3/issues/1510
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2
When was it published, and where is the official record?
- Reserved
- October 15, 2023
- Published
- October 15, 2023, 00:00 UTC
- CVE record updated
- September 16, 2024, 19:01 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:54 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Urllib3?
- Jun 29, 2021CVE-2021-33503 Python Urllib3: denial of service (uncontrolled resource consumption)
- Mar 15, 2021CVE-2021-28363 Python Urllib3: improper certificate validation
- Sep 29, 2020CVE-2020-26137 Python Urllib3: injection
- Mar 6, 2020CVE-2020-7212 Python Urllib3: denial of service (uncontrolled resource consumption)
- Apr 18, 2019CVE-2019-11324 Python Urllib3: improper certificate validation
- Apr 15, 2019CVE-2019-11236 Python Urllib3: improper Neutralization of CRLF Sequences
- Dec 11, 2018CVE-2018-20060 Python Urllib3: information disclosure
- Jan 11, 2017CVE-2016-9015 Python Urllib3: improper certificate validation
Questions about CVE-2018-25091
Is CVE-2018-25091 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Python Urllib3 are affected by CVE-2018-25091?
urllib3 before 1.24.2, per the GitHub advisory GHSA-gwvm-45gx-3cf8. The tables above give every range the sources list.
Which version fixes CVE-2018-25091?
1.24.2, per the GitHub advisory GHSA-gwvm-45gx-3cf8. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-25091?
Medium (6.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-25091?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.