Home / Python / Urllib3 / CVE-2018-20060
CVE-2018-20060: is it exploited, and which versions of Python Urllib3 are affected and fixed?
CVE-2018-20060 is an information disclosure 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, 06:38 UTC). Affected: urllib3 before 1.23 (GitHub advisory GHSA-www2-v7xj-xrc6). Fixed in 1.23 (GitHub advisory GHSA-www2-v7xj-xrc6). Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-20060?
urllib3 before version 1.23 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.
From the CVE record by mitre, last updated December 27, 2024, 16:02 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | urllib3 | < 1.23 | 1.23 | GHSA-www2-v7xj-xrc6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 27, 2024. Summary: Exposure of Sensitive Information to an Unauthorized Actor in urllib3.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | urllib3 | before 1.23 | application |
| fedoraproject | fedora | 28 | operating system |
| fedoraproject | fedora | 29 | operating system |
| fedoraproject | fedora | 30 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:52 UTC.
How severe is CVE-2018-20060?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/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-20060 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.49% probability of exploitation activity in the next 30 days, percentile 91.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/urllib3/urllib3/issues/1316 x_refsource_MISC
- https://github.com/urllib3/urllib3/pull/1346 x_refsource_MISC
- https://github.com/urllib3/urllib3/blob/master/CHANGES.rst x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1649153 x_refsource_MISC
- FEDORA-2019-a6c56f9756 vendor-advisory, x_refsource_FEDORA
- FEDORA-2019-6afaa38e7b vendor-advisory, x_refsource_FEDORA
- FEDORA-2019-8560719e80 vendor-advisory, x_refsource_FEDORA
- USN-3990-1 vendor-advisory, x_refsource_UBUNTU
- RHSA-2019:2272 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2019:2131 vendor-advisory, x_refsource_SUSE
- [debian-lts-announce] 20210615 [SECURITY] [DLA 2686-1] python-urllib3 security update mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20241227-0010/
When was it published, and where is the official record?
- Reserved
- December 11, 2018
- Published
- December 11, 2018, 17:00 UTC
- CVE record updated
- December 27, 2024, 16:02 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:52 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Urllib3?
- Oct 15, 2023CVE-2018-25091 Python Urllib3: open redirect
- 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
- Jan 11, 2017CVE-2016-9015 Python Urllib3: improper certificate validation
Questions about CVE-2018-20060
Is CVE-2018-20060 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 4.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Python Urllib3 are affected by CVE-2018-20060?
urllib3 before 1.23, per the GitHub advisory GHSA-www2-v7xj-xrc6. The tables above give every range the sources list.
Which version fixes CVE-2018-20060?
1.23, per the GitHub advisory GHSA-www2-v7xj-xrc6. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-20060?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-20060?
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.