CVEfocus › CVE database › CVE-2026-15806

CVE-2026-15806`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme…

CVSS 6.0 MediumEPSS 0.5% (higher than 32% of CVEs)Published 2026-08-18Updated 2026-11-10Assigner: PSF

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.

CWE-319CWE-522

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
18Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python3.14Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 26.04python3.14Under investigationUBUNTU-CVE-2026-15806
Ubuntu 24.04python3.12Under investigationUBUNTU-CVE-2026-15806
Ubuntu 22.04python2.7Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 22.04python3.10Under investigationUBUNTU-CVE-2026-15806
Ubuntu 22.04python3.11Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 20.04python2.7Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 20.04python3.8Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 20.04python3.9Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 18.04python2.7Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 18.04python3.6Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 18.04python3.7Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 18.04python3.8Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 16.04python2.7Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 16.04python3.5Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 14.04python2.7Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 14.04python3.4Fix pendingUBUNTU-CVE-2026-15806
Ubuntu 14.04python3.5Fix pendingUBUNTU-CVE-2026-15806
Debian 14pypy3Fixed8.0.1+dfsg-1DEBIAN-CVE-2026-15806
Debian 14python3.14Fixed3.14.7-3DEBIAN-CVE-2026-15806
Debian 14python3.15Fixed3.15.0~rc2-1DEBIAN-CVE-2026-15806
Debian 13pypy3Fix pendingDEBIAN-CVE-2026-15806
Debian 13python3.13Fix pendingDEBIAN-CVE-2026-15806
Debian 12pypy3Fix pendingDEBIAN-CVE-2026-15806
Debian 12python3.11Fixed3.11.2-6+deb12u9DEBIAN-CVE-2026-15806
Alpine Linux 3.24python3Fixed3.14.8-r0ALPINE-CVE-2026-15806
Alpine Linux 3.23python3Fixed3.12.15-r0ALPINE-CVE-2026-15806
Alpine Linux 3.22python3Fixed3.12.15-r0ALPINE-CVE-2026-15806
Alpine Linux 3.21python3Fixed3.12.15-r0ALPINE-CVE-2026-15806

What the vendor says

As published in the CVE record by PSF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.