ADVISORIES

Vulnerability

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).

12 advisories report this vulnerability, across 7 ecosystems.

Advisories in PyPI

  • GHSA-gwvm-45gx-3cf8

    Authorization Header forwarded on redirect

    Moderate CVE-2018-25091 PyPI Updated 18 November 2024
  • PYSEC-2023-207

    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…

    CVE-2018-25091 PyPI Updated 10 June 2026

References