# CVE-2026-15806: \`HTTPPasswordMgr\` can send saved HTTPS credentials via HTTP because of incorrect scheme matching

- Priority: **Routine**
- Reason: Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-18 · Modified: 2026-11-10
- Aliases: ALPINE-CVE-2026-15806, UBUNTU-CVE-2026-15806, DEBIAN-CVE-2026-15806, CGA-3gc2-32wj-v3wr, CGA-9pq2-qprm-mfcg, CGA-fq56-2mh9-p386, CGA-g3mh-g37r-xggp, CGA-hrrj-4837-fgpw, CGA-jqx3-7h23-pgh7, CGA-mj45-mv3j-4p86, CGA-mvjp-8w87-f499, CGA-rp5f-mfp4-rg9f, CGA-xcvc-j4jc-2pw3
- Record: https://cvemate.com/vulnerability/CVE-2026-15806 · JSON: https://cvemate.com/vulnerability/CVE-2026-15806/json

## Description

```text
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.
```

## Signals

- CVSS: 6 medium (v4.0, CVE.org) 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
- EPSS: 0.484%, percentile 43.365%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- alpine python3 (Alpine Linux): \< 3.12.15-r0 \| \< 3.14.8-r0
- chainguard python-3.10 (Chainguard): \< 3.10.21-r3
- chainguard python-3.11 (Chainguard): \< 3.11.16-r4
- chainguard python-3.12 (Chainguard): \< 3.12.14-r5
- chainguard python-3.13 (Chainguard): \< 3.13.15-r5
- chainguard python-3.14 (Chainguard): \< 3.14.7-r5
- wolfi python-3.10 (Wolfi): \< 3.10.21-r3
- wolfi python-3.11 (Wolfi): \< 3.11.16-r4
- wolfi python-3.12 (Wolfi): \< 3.12.14-r5
- wolfi python-3.13 (Wolfi): \< 3.13.15-r5
- wolfi python-3.14 (Wolfi): \< 3.14.7-r5
- debian pypy3 (Debian): All versions (No fix recorded) \| \< 8.0.1+dfsg-1
- debian python3.11 (Debian): \< 3.11.2-6+deb12u9
- debian python3.13 (Debian): All versions (No fix recorded)
- debian python3.14 (Debian): \< 3.14.7-3
- debian python3.15 (Debian): \< 3.15.0~rc2-1
- ubuntu python2.7 (Ubuntu): All versions (No fix recorded)
- ubuntu python3.10 (Ubuntu): All versions (No fix recorded)
- ubuntu python3.11 (Ubuntu): All versions (No fix recorded)
- ubuntu python3.12 (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/python/cpython/issues/155694>
- <https://github.com/python/cpython/pull/155696>
- <https://mail.python.org/archives/list/security-announce@python.org/thread/3OKPE5S75KDNA7FY7AI3PL2MXM2X5RB3/>
- <https://github.com/python/cpython/commit/a0d023fbd23773e24b35d8368789470e22cda5d8>
- <https://github.com/python/cpython/commit/a2773a34183b7d94a243bb98fd658926cc5348ce>
- <https://github.com/python/cpython/commit/a7bb524fef61f77ede01f660ffbd591e1d5837ce>
- <https://github.com/python/cpython/commit/641be42bb07921ba0f8bffe228b1dc706b092ef6>
- <https://github.com/python/cpython/commit/851cf9a7142ecbdd39f831055533f58284ad2bcc>
- <https://github.com/python/cpython/commit/95355ee3a8e1d3c3d4858d1973aa42a9b91a2801>
- <https://github.com/python/cpython/commit/dac88d8615078c55f1304ea4c7a2d822700d4e5a>
- <http://www.openwall.com/lists/oss-security/2026/08/18/3>
- <https://security.alpinelinux.org/vuln/CVE-2026-15806>
- <https://ubuntu.com/security/CVE-2026-15806>
- <https://www.cve.org/CVERecord?id=CVE-2026-15806>
- <https://security-tracker.debian.org/tracker/CVE-2026-15806>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15806.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-15806>
- <https://github.com/python/cpython>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

---

Data as of 2026-12-05T06:19:44.781Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
