PatchSiren cyber security CVE debrief
CVE-2026-19552 Python Software Foundation CVE debrief
CVE-2026-19552 debrief: The ssl.get_server_certificate() function in Python's CPython implementation does not verify the identity of the certificate when the ca_certs parameter is supplied. This issue affects CPython versions less than 3.16.0, potentially leading to security risks. Defenders and developers using Python's CPython implementation, especially those relying on certificate validation in their applications, should be aware of this issue and take necessary actions to verify certificate identities and consider implementing additional validation mechanisms.
- Vendor
- Python Software Foundation
- Product
- CPython
- CVSS
- NONE
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-12
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-12
Who should care
Defenders and developers using Python's CPython implementation, especially those relying on certificate validation in their applications, should be aware of this issue and take necessary actions.
Why it matters
The ssl.get_server_certificate() function in Python's CPython implementation does not verify the identity of the certificate when the ca_certs parameter is supplied, potentially leading to security risks. Defenders and developers should prioritize verifying certificate identities and consider implementing additional validation mechanisms.
- Potential security risks due to lack of certificate identity verification
- Need for additional certificate validation mechanisms
- Possible impact on applications relying on certificate validation
Technical summary
The ssl.get_server_certificate() function in Python's CPython implementation does not verify the identity of the certificate when the ca_certs parameter is supplied. This issue affects CPython versions less than 3.16.0. The lack of certificate identity verification can lead to potential security risks. Defenders and developers should prioritize verifying certificate identities and consider implementing additional validation mechanisms. The CVE record and source item indicate that the ssl.get_server_certificate() function does not verify the identity of the certificate when ca_certs is provided.
Defensive priority
Defenders should prioritize verifying the identity of certificates used in their Python applications, especially in environments where certificate validation is crucial.
Recommended defensive actions
- Verify the identity of certificates used in Python applications
- Update CPython to version 3.16.0 or later
- Implement additional certificate validation mechanisms if necessary
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item indicate that the ssl.get_server_certificate() function does not verify the identity of the certificate when ca_certs is provided. This issue affects CPython versions less than 3.16.0.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-19552 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-19552
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-19552 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-19552
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/19xxx/CVE-2026-19552.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/pull/161507
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/issues/161503
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://mail.python.org/archives/list/[email protected]/thread/SXBD6BGHDBTGM4KSUMQEWYIQ5RO4BQ76/
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/8dde46eaa6baf5f027a7234845b20d50b509624e
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.