Skip to main content
← Vulnerabilities

ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity

0.0NoneCNA
Exploited
No known exploitation
Fix
Fixed in 3.16.0
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 3.16.0.

Published
Last modified
17/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

The ssl.get_server_certificate() function verifies the certificate chain but not the certificate's identity when ca_certs is supplied, so a certificate for a different identity can be accepted. An attacker can reach this remotely over the network, without logging in or any user action, but the CVSS rates it as having no confidentiality, integrity, or availability impact.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original description

When ca_certs parameter was supplied to ssl.get_server_certificate() function, the identity of the certificate is not checked.

cve.now Index

17Pcve.now Index 17 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity0/10CVSS 0.0
  • No patch0/5No signal

What would change the score

  • Would score about 62 if added to CISA KEV
  • Would score about 57 if CISA's SSVC rates exploitation active
  • Would score about 22 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 3.16.0.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.16.0

Evidence 4

  1. Advisory
  2. Patch
  3. Report
  4. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-19552

Is CVE-2026-19552 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-19552?

CPython: before 3.16.0.Source: cve.now feed data

How do I fix CVE-2026-19552?

Upgrade to a fixed version: 3.16.0.Source: cve.now feed data