CVE-2026-34073
cryptography is a package designed to expose cryptographic …
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
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-m959-cc7f-wv43
- github.com/advisories/GHSA-m959-cc7f-wv43
- nvd.nist.gov/vuln/detail/CVE-2026-34073
- github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-35.yaml
- www.kb.cert.org/vuls/id/948176
- nvd.nist.gov/vuln/detail/CVE-2026-34073
- cve.org/CVERecord?id=CVE-2026-34073
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.