CVE-2026-69248

MEDIUM CVSS 4.0: 6.9 EPSS 0.24%
Updated Oct 24, 2026
Python
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions 45.0.0 — 48.0.0
Fixed In 49.0.0
Type CWE-295 (Improper Certificate Validation)
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products

pyca:cryptography