ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity
Summary
| CVE | CVE-2026-19552 |
|---|---|
| State | PUBLISHED |
| Assigner | PSF |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-09 15:17:21 UTC |
| Updated | 2026-11-09 15:17:21 UTC |
| Description | When ca_certs parameter was supplied to ssl.get_server_certificate() function, the identity of the certificate is not checked. |
Risk And Classification
Primary CVSS: v4.0 0 NONE from [email protected]
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 0 | NONE | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 0 | NONE | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N |
CVSS v4.0 Breakdown
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Python Software Foundation | CPython | affected 3.16.0 python | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/python/cpython/issues/161503 | [email protected] | github.com | |
| mail.python.org/archives/list/[email protected]/thread/SXBD6BGHDBT... | [email protected] | mail.python.org | |
| github.com/python/cpython/pull/161507 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: devdanzin (https://github.com/devdanzin) (en)
CNA: Bhuvansh (https://github.com/BHUVANSH855) (en)
CNA: Bénédikt Tran (https://github.com/picnixz) (en)
CNA: Brett Smith (https://github.com/brettcs) (en)
CNA: Kirill Podoprigora (https://github.com/Eclips4) (en)
CNA: Gregory P. Smith (https://github.com/gpshead) (en)
CNA: Seth Larson (https://github.com/sethmlarson) (en)
CNA: devdanzin (https://github.com/devdanzin) (en)