CVE-2026-15806
Last modified
CVE-2026-15806 is a medium-severity vulnerability rated 6/10 on the CVSS scale. 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. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | < 3.15.0rc2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-15806?
How severe is CVE-2026-15806?
How do I fix CVE-2026-15806?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1580A security issue was discovered in ingress-nginx where the `…8.8
- CVE-2026-15801A vulnerability was found in CRI-O related to the container …8
- CVE-2026-15802The WP Foodbakery plugin for WordPress is vulnerable to arbi…8.1
- CVE-2026-15803In Eclipse RDF4J, several XML parser entry points do not ful…8.7
- CVE-2026-15804The HCM developed by MetaGuru has a SQL Injection vulnerabil…8.8
- CVE-2026-15805Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-15809A flaw was found in CRI-O. The fix for a previous vulnerabil…7.8
- CVE-2026-1581The wpForo Forum plugin for WordPress is vulnerable to time-…7.5
- CVE-2026-15810A Cross-Site Scripting (XSS) vulnerability in Google Cloud L…8.7
- CVE-2026-15811A vulnerability was found in kronosnet's (version <=1.34) cr…5.8
- CVE-2026-15812A vulnerability was found in the internal Access Control Lis…4.8
- CVE-2026-15813A vulnerability was found in the network packet de-fragmenta…6.5
Are you affected by CVE-2026-15806?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
