CVE-2026-69248

Medium

Description

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In versions 45.0.0 through 48.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.

SeverityMedium
CVSS6.9
Exploit probability—
ProductCryptography
PublishedAug 3, 2026
First seenAug 3, 2026
Weakness typeCWE-295CWE-295

How to fix

Update
  • cryptography49.0.0 or later

Affected products

ProductAffected versionsFixed in
cryptographyPyPI45.0.0 ≤ v < 49.0.0, v < 49.0.049.0.0

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.