VDB

CVE-2026-15806

CVE-2026-15806 PUBLISHED CVSS 6 MEDIUM

Reported by PSF · Published August 18, 2026

The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials added for an https:// URL were also used for requests to the same host over http://, so an attacker able to redirect or downgrade a client to plain HTTP (for example, via an HTTPS-to-HTTP redirect or an on-path position) could capture credentials in cleartext. Credentials added for http:// URLs could likewise be sent over https://. Credential matching is now scoped by URL scheme. Credentials registered with a URL that includes a scheme are only used for requests with the same scheme. Credentials registered with a bare authority (such as example.com or example.com:8080) continue to match any scheme, preserving compatibility with existing code, including proxy authentication. Users who cannot upgrade immediately can mitigate by ensuring that applications never make plain http:// requests to hosts for which credentials are registered, for example by not following redirects to http:// URLs.

Risk Scores

CVSS 4.0
6
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected Products

VendorProductVersions
Python Software FoundationCPython0
wolfipython-3.140, 0, 0
chainguardpython-3.120, 0, 0
wolfipython-3.110, 0, 0
chainguardpython-3.100, 0, 0
chainguardpython-3.140, 0, 0
chainguardpython-3.110, 0, 0
Python Software FoundationCPython0, 0, 0
chainguardpython-3.130, 0, 0
wolfipython-3.100, 0, 0
wolfipython-3.120, 0, 0
wolfipython-3.130, 0, 0

Timeline

  • Aug 18, 2026 CVE Published
  • Aug 20, 2026 CVE Updated
  • Aug 22, 2026 Coalition ESS Score
  • Aug 24, 2026 EPSS Score
  • Aug 26, 2026 EPSS Score
  • Aug 30, 2026 EPSS Score
  • Sep 3, 2026 EPSS Score
  • Sep 5, 2026 Security Advisory
  • Sep 6, 2026 EPSS Score
  • Sep 9, 2026 EPSS Score
  • Sep 12, 2026 EPSS Score
  • Sep 16, 2026 EPSS Score

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›