CVE-2026-19552: Libpython · ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity
Affects libpythonSource GCVE Database
Not known to be exploited · CVSS 0.0 High.
Data as of 27 Nov 2026, 08:28 UTC
Thin evidence
One scorer or none| CNA (PSF) | CVSS 4.0 | 0.0 |
|---|
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamilibpythonpkg:bitnami/libpythonOther threats | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid relying solely on ssl.get_server_certificate() with ca_certs for identity verification or implement additional identity checks manually.
Description
The vulnerability in libpython's ssl.get_server_certificate() function occurs when the ca_certs parameter is supplied. Although the function verifies the certificate chain, it fails to verify the identity of the certificate, potentially allowing misuse of certificates that are not properly validated for identity.
References
- openwall.com/lists/oss-security/2026/11/09/25 (opens in a new tab)
- github.com/python/cpython/commit/8dde46eaa6baf5f027a7234845b20d50b509624e (opens in a new tab)
- github.com/python/cpython/issues/161503 (opens in a new tab)
- github.com/python/cpython/pull/161507 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/SXBD6BGHDBTGM4KSUMQEWYIQ5RO4BQ76/ (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-19552 (opens in a new tab)