Python Software Foundation · Python (CPython) · published 2026-08-18

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

This month Public proof-of-concept exists (SSVC exploitation: poc).

CVE-2026-15806 has a public proof-of-concept exploit, but no confirmed exploitation in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 45% of all CVEs. This Python (CPython) vulnerability: CVSS 6.0 (v4.0). Fixed upstream in Python (CPython) 3.14.8, 3.13.16, 3.12.15, 3.11.17 (+1 more); patched packages are out for Debian; Ubuntu still has unfixed releases. Patch in your normal monthly cycle.

Share this

Remediation#

Fixed upstream in Python (CPython) 3.14.8, 3.13.16, 3.12.15, 3.11.17, 3.10.22.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixiepypy3Won’t fix
13 trixiepython3.13Won’t fix
12 bookwormpypy3Won’t fix
12 bookwormpython3.11Fixed in 3.11.2-6+deb12u9
Ubuntu26.04 LTSpython3.14No fix yet
24.04 LTSpython3.12No fix yet
22.04 LTSpython3.10No fix yet

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This monthSecurity release

    Language runtimePython (CPython)

    Python (CPython) security releases: 3.14.8, 3.13.16, 3.12.15, 3.11.17, 3.10.22

    Upgrade to 3.14.83.13.163.12.153.11.173.10.22

    Why: CVE-2026-15806: Public proof-of-concept exists (SSVC exploitation: poc).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.5% (46th pct)FIRST EPSS v2026.06.15
CVSS base score6.0 (v4.0)
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
CNA / CISA ADP
SSVC exploitationpocCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →