low
CVE-2026-19552
When ca_certs parameter was supplied to ssl.get_server_certificate() function, the identity of the certificate is not checked.
Impact
When ca_certs parameter was supplied to ssl.get_server_certificate() function, the identity of the certificate is not checked.
An attacker can exploit this over the network, without logging in, without any action by a user.
Affected products · Python Software Foundation
| Product | Affected versions |
|---|---|
| CPython | before 3.16.0 before 3.16.0a2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/python/cpython/pull/161507
- https://github.com/python/cpython/issues/161503
- https://mail.python.org/archives/list/security-announce@python.org/thread/SXBD6BGHDBTGM4KSUMQEWYIQ5RO4BQ76/
- https://github.com/advisories/GHSA-hrvr-m27m-jc99
- https://nvd.nist.gov/vuln/detail/CVE-2026-19552
- https://mail.python.org/archives/list/security-announce@python.org/thread/SXBD6BGHDBTGM4KSUMQEWYIQ5RO4BQ76
- http://www.openwall.com/lists/oss-security/2026/11/09/25
- https://github.com/python/cpython/commit/8dde46eaa6baf5f027a7234845b20d50b509624e