CVE-2026-15806 `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
30 packages: 14 fixed, 1 partially fixed, 15 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux tensorflow(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/pypy3(Debian 12) | = 7.3.11+dfsg-2; = 7.3.11+dfsg-2+deb12u1; = 7.3.11+dfsg-2+deb12u2; = 7.3.11+dfsg-2+deb12u3 +29 more | No fix listed | No fix yet |
| debian/pypy3(Debian 13) | = 7.3.19+dfsg-2; = 7.3.20+dfsg-1; = 7.3.20+dfsg-2; = 7.3.20+dfsg-3 +11 more | No fix listed | No fix yet |
| debian/python3.13(Debian 13) | = 3.13.5-2; = 3.13.5-2+deb13u1; = 3.13.5-2+deb13u2; = 3.13.5-2+deb13u3 +12 more | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.7 | No fix listed | No fix yet |
| ubuntu/python2.7(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.10(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.11(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.12(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.14(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.14(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux python3(Azure Linux 3.0) | < 3.12.14-2; All versions | 3.12.14-2 | Partially fixed |
| alpine/python3(Alpine v3.21) | < 3.12.15-r0 | 3.12.15-r0 | Fixed |
| alpine/python3(Alpine v3.22) | < 3.12.15-r0 | 3.12.15-r0 | Fixed |
| alpine/python3(Alpine v3.23) | < 3.12.15-r0 | 3.12.15-r0 | Fixed |
| alpine/python3(Alpine v3.24) | < 3.14.8-r0 | 3.14.8-r0 | Fixed |
| debian/pypy3(Debian 14) | < 8.0.1+dfsg-1; = 7.3.19+dfsg-2; = 7.3.20+dfsg-1; = 7.3.20+dfsg-2 +10 more | 8.0.1+dfsg-1 | Fixed |
| debian/python3.11(Debian 12) | < 3.11.2-6+deb12u9; = 3.11.2-6; = 3.11.2-6+deb12u1; = 3.11.2-6+deb12u2 +6 more | 3.11.2-6+deb12u9 | Fixed |
| debian/python3.14(Debian 14) | < 3.14.7-3; = 3.14.0-1; = 3.14.0-2; = 3.14.0-3 +23 more | 3.14.7-3 | Fixed |
| debian/python3.15(Debian 14) | < 3.15.0~rc2-1; = 3.15.0~a8-1; = 3.15.0~a8-2; = 3.15.0~b1-1 +6 more | 3.15.0~rc2-1 | Fixed |
| Python Software Foundation CPython | < 3.10.22; >= 3.11.0, < 3.11.17; >= 3.12.0, < 3.12.15; >= 3.13.0, < 3.13.16 +2 more | 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, 3.15.0rc2 | Fixed |
| redhat/python3-10-main(Red Hat hummingbird 1) | < 3.10.21-1.1.hum1 | 3.10.21-1.1.hum1 | Fixed |
| redhat/python3-11-main(Red Hat hummingbird 1) | < 3.11.16-1.2.hum1 | 3.11.16-1.2.hum1 | Fixed |
| redhat/python3-12-main(Red Hat hummingbird 1) | < 3.12.14-1.1.hum1 | 3.12.14-1.1.hum1 | Fixed |
| redhat/python3-13-main(Red Hat hummingbird 1) | < 3.13.15-1.1.hum1 | 3.13.15-1.1.hum1 | Fixed |
| redhat/python3-14-main(Red Hat hummingbird 1) | < 3.14.7-1.1.hum1 | 3.14.7-1.1.hum1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | < 3.10.22 | 3.10.22 |
| Python Software Foundation CPython | >= 3.11.0, < 3.11.17 | 3.11.17 |
| Python Software Foundation CPython | >= 3.12.0, < 3.12.15 | 3.12.15 |
| Python Software Foundation CPython | >= 3.13.0, < 3.13.16 | 3.13.16 |
| Python Software Foundation CPython | >= 3.14.0, < 3.14.8 | 3.14.8 |
| Python Software Foundation CPython | >= 3.15.0a1, < 3.15.0rc2 | 3.15.0rc2 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | >= V3.1.7 | No fix listed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.7 | No fix listed |
| redhat/python3-14-main(Red Hat:hummingbird:1) | < 3.14.7-1.1.hum1 | 3.14.7-1.1.hum1 |
| redhat/python3-10-main(Red Hat:hummingbird:1) | < 3.10.21-1.1.hum1 | 3.10.21-1.1.hum1 |
| redhat/python3-11-main(Red Hat:hummingbird:1) | < 3.11.16-1.2.hum1 | 3.11.16-1.2.hum1 |
| redhat/python3-12-main(Red Hat:hummingbird:1) | < 3.12.14-1.1.hum1 | 3.12.14-1.1.hum1 |
| redhat/python3-13-main(Red Hat:hummingbird:1) | < 3.13.15-1.1.hum1 | 3.13.15-1.1.hum1 |
| debian/pypy3(Debian:12) | All versions | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12~rc1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12~rc2+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.13+dfsg-1 | No fix listed |
Show 129 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pypy3(Debian:12) | = 7.3.14+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.15+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.16+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.16+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.18+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.18+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.19+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 8.0.0+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | All versions | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.0+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | < 8.0.1+dfsg-1 | 8.0.1+dfsg-1 |
| debian/pypy3(Debian:14) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 8.0.0+dfsg-1 | No fix listed |
| debian/python3.11(Debian:12) | < 3.11.2-6+deb12u9 | 3.11.2-6+deb12u9 |
| debian/python3.11(Debian:12) | = 3.11.2-6 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u4 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u5 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u6 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u7 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u8 | No fix listed |
| debian/python3.13(Debian:13) | All versions | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.11-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.12-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.14-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.15-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.18-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u3 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u4 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u5 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.6-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.7-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.8-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.9-1 | No fix listed |
| debian/python3.14(Debian:14) | < 3.14.7-3 | 3.14.7-3 |
| debian/python3.14(Debian:14) | = 3.14.0-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~a7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.6-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-2 | No fix listed |
| debian/python3.15(Debian:14) | < 3.15.0~rc2-1 | 3.15.0~rc2-1 |
| debian/python3.15(Debian:14) | = 3.15.0~a8-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~a8-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-3 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b2-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b3-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b4-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~rc1-1 | No fix listed |
| ubuntu/python3.10(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python2.7(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.11(Ubuntu:22.04) | All versions | No fix listed |
| alpine/python3(Alpine:v3.21) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.22) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.23) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.24) | < 3.14.8-r0 | 3.14.8-r0 |
| ubuntu/python3.12(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.10) | All versions | No fix listed |
| azure linux tensorflow(Azure Linux:3.0) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | < 3.12.14-2 | 3.12.14-2 |
References
- MSRC Security Update Guide vendor-advisory
- Security Update patch vendor-advisory
- github.com exploit issue-tracking
- github.com patch
- mail.python.org vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- www.openwall.com
- cert-portal.siemens.com
- Red Hat CVE page vendor-advisory
- RHSA-2026:65505 patch vendor-advisory
- RHSA-2026:65513 patch vendor-advisory
- RHSA-2026:65525 patch vendor-advisory
- RHSA-2026:65531 patch vendor-advisory
- RHSA-2026:65567 patch vendor-advisory
- Red Hat Bugzilla 2517978 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-15806 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-61013 third-party-advisory