CVE-2026-69248
MEDIUMpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
Title source: cnaDescription
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 49.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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/pyca/cryptography/security/advisories/GHSA-m2h6-j472-rp4c
X_Refsource_Misc x_refsource_misc
https://github.com/pyca/cryptography/pull/14888
X_Refsource_Misc x_refsource_misc
https://github.com/pyca/cryptography/commit/4d035a4225965edeffd312079a510ef25fcfdcb2
Scores
CVSS v4
6.9
EPSS
0.0019
EPSS Percentile
8.3%
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-295
Status
published
Products (2)
pyca/cryptography
< 49.0.0
pypi/cryptography
0 - 49.0.0PyPI
Published
Aug 03, 2026
Tracked Since
Aug 04, 2026