Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-20060
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:29 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-20060
Complete source record
{
"id": "726287e9c8ecf633de3f0c14366a0ec4b99b75ce06161916facfd640f315451d",
"url": "https://osv.dev/vulnerability/CVE-2018-20060",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-20060",
"summary": "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.",
"evidence": "osv:CVE-2018-20060",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-20060",
"aliases": [
"CVE-2018-20060",
"GHSA-www2-v7xj-xrc6",
"PYSEC-2018-32"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/urllib3/urllib3",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7c216f433e39e184b84cbfa49e41135a89e4baa0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.23"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.22",
"1.21.1",
"1.21",
"1.20",
"1.19",
"1.18",
"1.16",
"1.15.1",
"1.15",
"1.14",
"1.13.1",
"1.13",
"1.12",
"1.11",
"1.10.4",
"1.10.3",
"1.7.1",
"1.7",
"1.6",
"1.5",
"1.4",
"1.3",
"1.2.1",
"1.2",
"1.1",
"0.4.1",
"0.4",
"0.3.1",
"0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20060.json"
}
}
],
"modified": "2026-10-20T10:50:24.236451365Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ/",
"https://usn.ubuntu.com/3990-1/",
"https://access.redhat.com/errata/RHSA-2019:2272",
"https://github.com/urllib3/urllib3/blob/master/CHANGES.rst",
"https://github.com/urllib3/urllib3/issues/1316",
"https://github.com/urllib3/urllib3/pull/1346",
"https://security.netapp.com/advisory/ntap-20241227-0010/",
"https://bugzilla.redhat.com/show_bug.cgi?id=1649153"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "28"
},
{
"last_affected": "28"
},
{
"introduced": "29"
},
{
"last_affected": "29"
},
{
"introduced": "30"
},
{
"last_affected": "30"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-20060",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381680,
"published_at": "2018-12-11T17:29:00.38+00:00"
}