Skip to main content
← All vulnerabilities
CVE-2026-34073PYSEC-2026-35GHSA-M959-CC7F-WV43

cryptography has incomplete DNS name constraint enforcement on peer names

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 46.0.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • pyca cryptography

    fixed in 46.0.6

  • cryptographyPyPI

    fixed in 46.0.6

References 1

GitHub · pyca/cryptography