CVE-2026-15806`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching
- 6.0MediumCVSS base score
- 0.53%Exploitation in 30 daysEPSS · top 54% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/python/cpython/issues/155694 (opens in a new tab)issue-trackingexploit
Timeline
ID reserved
By PSF
- 34 days later
· 34 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 4.0 | Medium6.0 | 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 |
| NVDNVD · Awaiting Analysis | 4.0 | Medium6.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.53% · top 54% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Affected products
Python Software Foundation · CPython
- affected < 3.10.22
- affected 3.11.0 – < 3.11.17
- affected 3.12.0 – < 3.12.15
- affected 3.13.0 – < 3.13.16
- affected 3.14.0 – < 3.14.8
- affected 3.15.0a1 – < 3.15.0rc2
References
References12
- https://github.com/python/cpython/issues/155694 (opens in a new tab)issue-trackingexploit
- https://github.com/python/cpython/pull/155696 (opens in a new tab)patch
- https://mail.python.org/archives/list/[email protected]/thread/3OKPE5S75KDNA7FY7AI3PL2MXM2X5RB3/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/commit/a0d023fbd23773e24b35d8368789470e22cda5d8 (opens in a new tab)patch
- https://github.com/python/cpython/commit/a2773a34183b7d94a243bb98fd658926cc5348ce (opens in a new tab)patch
- https://github.com/python/cpython/commit/a7bb524fef61f77ede01f660ffbd591e1d5837ce (opens in a new tab)patch
- https://github.com/python/cpython/commit/641be42bb07921ba0f8bffe228b1dc706b092ef6 (opens in a new tab)patch
- https://github.com/python/cpython/commit/851cf9a7142ecbdd39f831055533f58284ad2bcc (opens in a new tab)patch
- https://github.com/python/cpython/commit/95355ee3a8e1d3c3d4858d1973aa42a9b91a2801 (opens in a new tab)patch
- https://github.com/python/cpython/commit/dac88d8615078c55f1304ea4c7a2d822700d4e5a (opens in a new tab)patch
- http://www.openwall.com/lists/oss-security/2026/08/18/3 (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-61013 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-15806)Record last updated .