Live threats

All CVEs / Python

CVE-2018-20060Python Urllib3

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
4.5%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Dec 11, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Urllib3.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI urllib3 < 1.23 1.23 pip install "urllib3>=1.23"
PyPI urllib3 < 1.23 1.23 pip install "urllib3>=1.23"

Per OSV / GitHub Advisories (GHSA-www2-v7xj-xrc6, PYSEC-2018-32). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonurllib3< 1.23
fedoraprojectfedora28
fedoraprojectfedora29
fedoraprojectfedora30

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.