Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
6636 articles · 242856 vulns · 37/41 feeds (7d)
← Back to list
—
CVE-2026-15806PATCHED
python software foundation · cpython

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

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.

Affected Products

VendorProductVersions
python software foundationcpython0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.15.0a1

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
open sourcepythoncert_advisory90%

References

  • https://github.com/python/cpython/issues/155694(issue-tracking)
  • https://github.com/python/cpython/pull/155696(patch)
  • https://mail.python.org/archives/list/security-announce@python.org/thread/3OKPE5S75KDNA7FY7AI3PL2MXM2X5RB3/(vendor-advisory)
  • https://github.com/python/cpython/commit/a0d023fbd23773e24b35d8368789470e22cda5d8(patch)
  • https://github.com/python/cpython/commit/a2773a34183b7d94a243bb98fd658926cc5348ce(patch)
  • https://github.com/python/cpython/commit/a7bb524fef61f77ede01f660ffbd591e1d5837ce(patch)
  • https://github.com/python/cpython/commit/641be42bb07921ba0f8bffe228b1dc706b092ef6(patch)
  • https://github.com/python/cpython/commit/851cf9a7142ecbdd39f831055533f58284ad2bcc(patch)
  • https://github.com/python/cpython/commit/95355ee3a8e1d3c3d4858d1973aa42a9b91a2801(patch)
  • https://github.com/python/cpython/commit/dac88d8615078c55f1304ea4c7a2d822700d4e5a(patch)

Related News (5 articles)

Tier B
CERT-FR18d ago
Multiples vulnérabilités dans les produits VMware (02 octobre 2026)
→ No new info (linked only)
Tier B
BSI Advisories62d ago
[NEU] [mittel] CPython: Mehrere Schwachstellen
→ No new info (linked only)
Tier B
CERT-FR62d ago
Multiples vulnérabilités dans Python (19 août 2026)
→ No new info (linked only)
Tier C
VulDB63d ago
CVE-2026-15806 | PSF Python up to 3.15.x urllib.request HTTPPasswordMgr missing encryption
→ No new info (linked only)
Tier C
oss-security63d ago
CPython [CVE-2026-15806] urllib.request.HTTPPasswordMgr credentials for one URL scheme sent over another scheme
→ No new info (linked only)

Discussion (0)

Loading…

CISA KEV❌ No
Actively exploited❌ No
Patch available
3.16.0
CWECWE-319, CWE-522
PublishedAug 18, 2026
Trending Score6
Source articles5
Independent4
Info Completeness0/14
Missing: cve_id, title, description, vendor, product, versions, cvss, epss, cwe, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALPRE-CVE
Certifi emSign Root Certificate Compromise
Trending: 30
NONECVE-2026-19553
SSLContext.wrap_bio() missing validation of server_hostname parameter
Trending: 6
NONECVE-2026-19672
tarfile extraction filter bypass allows creation of directories outside the destination
Trending: 5
NONECVE-2026-17084
stringprep.map_table_b2() deviates from RFC 3454 Table B.2
Trending: 5
NONECVE-2026-87910
tarfile hardlink fallback ignores custom extraction filter rejection via None
Trending: 5

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Aug 18, 2026
Discovered by ZDM
Aug 18, 2026
Patch Available
Oct 2, 2026