CVE-2018-25091
CVE-2018-25091 is a medium-severity vulnerability in Python Urllib3 with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-601.
Key facts
- Severity: Medium (CVSS 3.x base score 6.1)
- EPSS exploit prediction: 1% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-601
- Affected product: Python Urllib3
- Published:
- Last modified:
Description
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).
Frequently asked questions
- 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).
- How severe is CVE-2018-25091?
- CVE-2018-25091 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2018-25091 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-25091?
- CVE-2018-25091 affects Python Urllib3. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-25091?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2018-25091 published?
- CVE-2018-25091 was published on 2023-10-15 and last updated on 2026-06-17.
References
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2
- https://github.com/urllib3/urllib3/issues/1510
Affected products (1)
- cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*
More vulnerabilities in Python Urllib3
- CVE-2018-20060 — Critical (CVSS 9.8): urllib3 before version 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e.,…
- CVE-2026-44432 — High (CVSS 7.5): urllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response…
- CVE-2026-21441 — High (CVSS 7.5): urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large…
- CVE-2025-66471 — High (CVSS 7.5): urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming…
- CVE-2025-66418 — High (CVSS 7.5): urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of…
- CVE-2021-33503 — High (CVSS 7.5): An issue was discovered in urllib3 before 1.26.5. When provided with a URL containing many @ characters in the…
All CVEs affecting Python Urllib3 →
Other CWE-601 (Open Redirect) vulnerabilities
- CVE-2018-3774 — Critical (CVSS 10.0): Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open…
- CVE-2019-25282 — Critical (CVSS 9.8): V-SOL GPON/EPON OLT Platform v2.03 contains an open redirect vulnerability in the script that allows attackers to…
- CVE-2020-36912 — Critical (CVSS 9.8): Plexus anblick Digital Signage Management 3.1.13 contains an open redirect vulnerability in the 'PantallaLogin' script…
- CVE-2025-43526 — Critical (CVSS 9.8): This issue was addressed with improved URL validation. This issue is fixed in Safari 26.2, macOS Tahoe 26.2. On a Mac…
- CVE-2025-55031 — Critical (CVSS 9.8): Malicious pages could use Firefox for iOS to pass FIDO: links to the OS and trigger the hybrid passkey transport. An…
- CVE-2024-22891 — Critical (CVSS 9.8): Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link.