CVE-2026-15806

`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching

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.


We have discovered 455 live websites that are affected by CVE-2026-15806.

Run a Free Instant Scan




Affected Software

Product  CPython
Category Programming Languages
Vulnerable Domains455 live websites (100% of CPython install base)
Vulnerable Versions
  • from 0 through 3.15
Vulnerable Versions Count65 versions ( 100% of all versions)


Common Weakness Enumeration

CWE-319 Cleartext Transmission of Sensitive Information



Details

  • Published - Aug 18, 2026
  • Updated - Aug 21, 2026

Credits

  • Łukasz (https://github.com/lkk7) (reporter)
  • Kirill Podoprigora (https://github.com/Eclips4) (coordinator)
  • Senthil Kumaran (https://github.com/orsenthil) (analyst)

Website Distribution by Country

Number of websites using CVE-2026-15806
United States149 websites



Germany62 websites
Singapore28 websites
France22 websites
India19 websites
China13 websites
Russia12 websites
GB12 websites
Switzerland10 websites
Brazil9 websites

Website Distribution by TLD

Number of websites using CVE-2026-15806
.com164 websites
.org40 websites
.net23 websites
.dk23 websites
.de21 websites
.fr8 websites
.ch8 websites
.edu7 websites
.nl7 websites
.it6 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2026-15806

Top websites that are affected by CVE-2026-15806. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
**********.com United States**,***
*********.com Netherlands***,***
*******.***.org Germany***,***
****.***********.***.au Australia***,***
*************.com United States***,***
********.***.***.gr Greece***,***
***.********.it Italy***,***
***************.de Germany*,***,***
****.*****.br Brazil*,***,***
*********.com United States*,***,***
See full domain list

FAQ

CVE-2026-15806 is Cleartext Transmission of Sensitive Information in CPython
A total of 455 websites have been identified as vulnerable to CVE-2026-15806, based on global website indexing conducted by WebTechSurvey.
The CPython is affected by the CVE-2026-15806 vulnerability.
CPython versions up to 3.15 are vulnerable to CVE-2026-15806.
CVE-2026-15806 is resolved in version 3.15 of CPython.