CVE-2018-25091
mediumpriority · track · 24EPSS 0.006 · 48 %ileEURUUSEPSS · scored 2026-10-27
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-gwvm-45gx-3cf8Authorization Header forwarded on redirect2023-10-15ghsa · osvUS
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).
- PYSEC-2023-2072023-10-15vendor · osvUS
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).
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2018-25091cnnvd
- https://cxsecurity.com/cveshow/CVE-2018-25091/cnnvd
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbccnnvd
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2cnnvd
- https://github.com/urllib3/urllib3/issues/1510cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2018-25091cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.6431cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.6472cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan