All CVEs / Python Software Foundation
CVE-2026-15806Python Software Foundation CPython
Medium 6.0 No auth needed
Follow: this CVE · Python Software Foundation · Python Software Foundation CPython We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 4.0
- 6.0
- EPSS
- —
- Auth required
- No
- Published
- Aug 18, 2026
- Updated
- Nov 10, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for CPython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Python Software Foundation · CPython
- Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
- Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
- Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
- Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
- Siemens · SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python39 · SUSE · SUSE-SU-2026:5495-1 · Nov 27, 2026 Critical
- Security update for python3, python313 · SUSE · SUSE-SU-2026:24974-1 · Nov 25, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:102608 · Nov 25, 2026 High
- Security update for Multi-Linux Manager Client Tools and Salt Bundle · SUSE · SUSE-SU-2026:5446-1 · Nov 25, 2026 Critical
- Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7 · Siemens · SSA-457936 · Oct 13, 2026 Critical
- Red Hat Security Advisory: python3.12 security update · Red Hat · RHSA-2026:77020 · Oct 10, 2026 High
- Red Hat Security Advisory: python3.12 security update · Red Hat · RHSA-2026:77017 · Oct 8, 2026 High
Also: SUSE (+27), Red Hat (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.