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.
CVE-2018-20060
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 0.7%, top 29% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 90.3%
- KEV
- Not listed
Published
December 11, 2018
Last Modified
December 27, 2024
Advisory Details (9)
Auto-updated Jun 8, 2026[SECURITY] Fedora 30 Update: python-urllib3-1.24.2-1.fc30 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ/[SECURITY] Fedora 28 Update: python-urllib3-1.24.2-1.fc28 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT/[SECURITY] Fedora 29 Update: python-urllib3-1.24.2-1.fc29 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD/[SECURITY] [DLA 2686-1] python-urllib3 security update
https://lists.debian.org/debian-lts-announce/2021/06/msg00015.htmlRemove Authorization header when redirecting cross-host
Patch available: urllib3/urllib3 2.0.0a3 (PR #1346 merged 2018-03-29)
https://github.com/urllib3/urllib3/pull/1346Auth header remains during redirects · Issue #1316 · urllib3/urllib3 · GitHub
https://github.com/urllib3/urllib3/issues/1316urllib3/CHANGES.rst at main · urllib3/urllib3 · GitHub
https://github.com/urllib3/urllib3/blob/master/CHANGES.rst1649153 – (CVE-2018-20060) CVE-2018-20060 python-urllib3: Cross-host redirect does not remove Authorization header allow for credential exposure
Affected: Red Hat Enterprise Linux 7
https://bugzilla.redhat.com/show_bug.cgi?id=1649153Affected: Red Hat Enterprise Linux 7.
https://access.redhat.com/errata/RHSA-2019:2272Vendor Advisories for CVE-2018-20060(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2020:1605Red Hat Product SecurityMedium
Red Hat Security Advisory: python27:2.7 security, bug fix, and enhancement update
- RHBA-2020:1539Red Hat Product SecurityCritical
Red Hat Bug Fix Advisory: Red Hat Ansible Tower 3.5.6-1 - RHEL7 Container
- RHBA-2020:1540Red Hat Product SecurityCritical
Red Hat Bug Fix Advisory: Red Hat Ansible Tower 3.6.4-1 - RHEL7 Container
Patch Availability(10)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-urllib3 (1.13.1-2ubuntu0.16.04.3) @ xenial | 2026-05-28 | ubuntu |
| redhat | python-pip-0:9.0.3-7.el7_8 | 2020-05-12 | redhat |
| redhat | python-virtualenv-0:15.1.0-4.el7_8 | 2020-05-12 | redhat |
| redhat | python27:2.7-8020020200117110429.90f98d4f | 2020-04-28 | redhat |
| redhat | python-pip-0:9.0.3-16.el8 | 2020-04-28 | redhat |
| redhat | ansible-tower-35/ansible-tower:3.5.6-1 | 2020-04-22 | redhat |
| redhat | ansible-tower-36/ansible-tower:3.6.4-1 | 2020-04-22 | redhat |
| redhat | python-virtualenv-0:15.1.0-4.el7_7 | 2020-03-17 | redhat |
| redhat | python-pip-0:9.0.3-7.el7_7 | 2020-03-17 | redhat |
| redhat | python-urllib3-0:1.10.2-7.el7 | 2019-08-06 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| urllib3 | 0.2 ... 1.9.1 (45 versions) | 1.23 | — |
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2019:2272MODERATE2018-03-26
RHSA-2019:2272 — Moderate
- Red HatRHSA-2020:0850MODERATE2018-03-26
RHSA-2020:0850 — Moderate
- Red HatRHSA-2020:0851MODERATE2018-03-26
RHSA-2020:0851 — Moderate
- Red HatRHSA-2020:1916MODERATE2018-03-26
RHSA-2020:1916 — Moderate
- Red HatRHSA-2020:2068MODERATE2018-03-26
RHSA-2020:2068 — Moderate
- Red HatRHSA-2020:2081MODERATE2018-03-26
RHSA-2020:2081 — Moderate
- UbuntuUSN-3990-1LOW
urllib3 vulnerabilities
Data Freshness Timeline
(refreshed 14× in last 7d / 51× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-03 20:56 UTCOSV refresh
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
Show 54 moreShow fewer
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-15 09:13 UTCOSV refresh
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 00:25 UTCEG score recompute
- 2026-05-28 00:25 UTCVendor advisory
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-23 05:48 UTCOSV refresh
Frequently asked(5)
What is CVE-2018-20060?
When was CVE-2018-20060 disclosed?
Is CVE-2018-20060 actively exploited?
What is the CVSS score of CVE-2018-20060?
How do I remediate CVE-2018-20060?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-20060
Is Your Infrastructure Affected by CVE-2018-20060?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.