International
The Morning Dev

Only the news worth knowing

‹
 

SecurityFan score 43 · Tier B

CPython: [CVE-2026-19552] ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity

oss-security ·

The Brief

  • CPython disclosed CVE-2026-19552 on 2026-11-09.
  • ssl.get_server_certificate(addr, ca_certs=...) verifies the certificate chain but does not check the server's identity.
  • The advisory was sent by Seth Larson to the Security-announce list and forwarded to oss-sec.

Why it matters

Code that relies on ssl.get_server_certificate with ca_certs to authenticate a server may accept a certificate that is valid for a different host but signed by a trusted CA.

Who’s affected

  • Python applications calling ssl.get_server_certificate with ca_certs

Posted by Alan Coopersmith on Nov 09 -------- Forwarded Message -------- Subject: [Security-announce][CVE-2026-19552] ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity Date: Mon, 9 Nov 2026 14:12:16 +0000 From: Seth Larson <seth () python…

Timeline

  1. Vulnerability disclosed via Security-announce and posted to oss-sec

  2. Open Source Security

    CPython: [CVE-2026-19552] ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity

How do you feel about this?

0 Comments

    CPython: [CVE-2026-19552] ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity – The Morning Dev