CVE-2026-34073

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductCryptography
PublishedMar 31, 2026
First seenMar 31, 2026
Weakness typeCWE-295CWE-295

How to fix

Update
  • cryptography.io cryptography46.0.6 or later
  • cryptography46.0.6 or later

Affected products

ProductAffected versionsFixed in
cryptography.io cryptographyv < 46.0.646.0.6
cryptographyPyPIv < 46.0.646.0.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-34073 · Cryptography · Dark Radar