CVE-2026-15806: The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRe
CVE-2026-15806 is a medium-severity flaw (CVSS 6.0) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 red
Why this priority
- CISA SSVC: public proof of concept
A fixed release or distro patch exists.
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/python/cpython/issues/155694
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.