Skip to main content
VulnerabilityPublished Updated

CVE-2026-19553: Python Software Foundation CPython · Improper Validation of Certificate with Host Mismatch

Affects Python Software Foundation CPythonSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PSF)CVSS 4.07.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.15.0a1 <3.15.0rc3
Fixed in
  • 3.15.0rc3
Python Software FoundationCPythonAffected
  • >=3.14.0 <3.14.8
Fixed in
  • 3.14.8
Python Software FoundationCPythonAffected
  • >=3.13.0 <3.13.16
Fixed in
  • 3.13.16
Python Software FoundationCPythonAffected
  • >=3.12.0 <3.12.15
Fixed in
  • 3.12.15
Python Software FoundationCPythonAffected
  • >=3.11.0 <3.11.17
Fixed in
  • 3.11.17
Python Software FoundationCPythonAffected
  • <3.10.22
Fixed in
  • 3.10.22

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

Community reviews

Loading reviews…