Wildcard Certificate Acceptance Flaw in the Cryptography Package from Python
CVE-2026-69248
6.9MEDIUM
What is CVE-2026-69248?
The cryptography package for Python encountered a vulnerability where a wildcard DNS certificate could be incorrectly accepted. Specifically, if an intermediate constrained Certificate Authority (CA) validated the DNS name foo.example.com, and a leaf certificate held a wildcard in its DNS Subject Alternative Name (SAN) such as *.example.com, the verifier erroneously accepted it. This flaw allows for potential certificate chain validation failures, as any subdomain of example.com could be misinterpreted as a valid certificate, including those not specifically permitted. This issue has been addressed in version 49.0.0.
Affected Version(s)
cryptography < 49.0.0
