ADVISORIES

CVE Program

CNA-CVE-2026-19552

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

Details

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

Affected packages

EcosystemPackageAffected versions
Pythonpython
All versions before 3.16.0a2 (fixed in 3.16.0a2)

References