CVE-2026-69248
cryptography is a package designed to expose cryptographic …
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 49.0.0, if an intermediate constrained CA permits the DNS name foo.example.com, and the leaf certificate has a wildcard in its DNS SAN of *.example.com, python-cryptography's verifier accepts which allows escaping outside of the permitted names. The core issue is in DNSConstraint::matches, where a wildcard pattern was treated as matching a more-specific permitted constraint even though *.example.com can expand to sibling names such as bar.example.com outside foo.example.com. This allows acceptance of an invalid certificate chain. This issue is fixed in 49.0.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pyca/cryptography/security/advisories/GHSA-m2h6-j472-rp4c
- github.com/pyca/cryptography/pull/14888
- github.com/pyca/cryptography/commit/4d035a4225965edeffd312079a510ef25fcfdcb2
- github.com/advisories/GHSA-m2h6-j472-rp4c
- nvd.nist.gov/vuln/detail/CVE-2026-69248
- github.com/pyca/cryptography/commit/286c89128
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3554.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-69248
- cve.org/CVERecord?id=CVE-2026-69248
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.