CVE-2026-19553: Python Software Foundation CPython · Improper Validation of Certificate with Host Mismatch
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 7.6 High · fixed in 3.15.0rc3 : patch Python Software Foundation CPython soon.
Data as of 14 Nov 2026, 20:58 UTC
Thin evidence
One scorer or none| CNA (PSF) | CVSS 4.0 | 7.6 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.15.0rc3, 3.14.8, 3.13.16 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 14 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, ensure that a valid, non-None, and non-empty server_hostname argument is passed to ssl.SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() when SSLContext.check_hostname is enabled. This causes hostname verification to proceed as expected without requiring a Python update. Alternatively, upgrade to one of the fixed Python versions (3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8, or 3.15.0rc3) where omission of server_hostname raises a ValueError, preventing silent verification bypass.
Description
CVE-2026-19553 is a vulnerability in Python's CPython ssl module where hostname verification can be silently skipped if the server_hostname argument is not provided to certain SSL APIs, despite SSLContext.check_hostname being set to True. This can cause programs to mistakenly believe hostname verification succeeded. The issue affects multiple Python versions prior to fixed releases. Mitigation involves explicitly passing a valid non-empty server_hostname value to the affected APIs. Fixed versions raise an error instead of silently skipping verification.
References
- github.com/python/cpython/pull/158503 (opens in a new tab)
- github.com/python/cpython/issues/156793 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/QNZRG3YOAMTHDCMVCICXGY6YEFPY2VDL/ (opens in a new tab)
- openwall.com/lists/oss-security/2026/09/30/16 (opens in a new tab)
- github.com/python/cpython/commit/1697ea386c707142555d98a1263176bbbc014a96 (opens in a new tab)
- github.com/python/cpython/commit/641390146a16a38e6701923f4ee4f1940ae77082 (opens in a new tab)
- github.com/python/cpython/commit/966bf426d0b6c31c1b0a255ff14a17143a466ced (opens in a new tab)
- github.com/python/cpython/commit/f4e43ba525187282f2011da0e6ffc0d2b08d8062 (opens in a new tab)
- github.com/python/cpython/commit/869069d52ce0efab2f8c38197e92cdaaa312f1ed (opens in a new tab)
- github.com/python/cpython/commit/5867d4e4ae6d1062352baf6b497a4026e8578ccf (opens in a new tab)
- github.com/python/cpython/commit/bdebbf9b366ec91e9cd9daa0b3510c9e84b60b80 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)