{"id":"CVE-2018-25091","aliases":["GHSA-gwvm-45gx-3cf8","PYSEC-2023-207"],"url":"https://o3.security/vulnerability/CVE-2018-25091","summary":"Authorization Header forwarded on redirect","details":"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).","published":"2023-10-15T19:15:09.213Z","modified":"2026-08-07T14:58:56.155486Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"urllib3","fixedVersion":"1.24.2"}],"fix":{"url":"https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc","label":"urllib3/urllib3@adb358f"},"references":[{"type":"FIX","url":"https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc"},{"type":"FIX","url":"https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2"},{"type":"FIX","url":"https://github.com/urllib3/urllib3/issues/1510"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25091"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-207.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T14:58:56.155486Z"}}