Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-15806— `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching

Quick assessment

Affected
Python Software Foundation CPython
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Python是Python基金会开源的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python 3.15.0之前版本存在安全漏洞,该漏洞源于urllib.request模块中的HTTPPasswordMgr类及其子类在将存储的凭据与请求的URL匹配时未考虑URL协议,可能导致攻击者通过重定向或将客户端降级为明文HTTP来捕获明文凭据。

CVSS 6.0 · Medium EPSS 0.43% · P36

Possible ATT&CK Techniques 1 AI

T1078 · Valid Accounts

Affected Version Matrix 1

VendorProduct Version RangeStatus
Python Software Foundation CPython < 3.15.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-15806

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
敏感数据的明文传输
Source: CVE Program / CVE List V5
Vulnerability Title
Python 加密问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python是Python基金会开源的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python 3.15.0之前版本存在安全漏洞,该漏洞源于urllib.request模块中的HTTPPasswordMgr类及其子类在将存储的凭据与请求的URL匹配时未考虑URL协议,可能导致攻击者通过重定向或将客户端降级为明文HTTP来捕获明文凭据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Python Software Foundation CPython 0 ~ 3.15.0 -

II. Public POCs for CVE-2026-15806

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-15806

登录查看更多情报信息。

Patches & Fixes for CVE-2026-15806 (6)

Vendor Advisories for CVE-2026-15806 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-15806

No comments yet


Leave a comment