Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-69248 EUVD-2026-52448GHSA-m2h6-j472-rp4cPYSEC-2026-3554

python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

Published Aug 3, 2026 · Updated Sep 2, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
pyca cryptography < 49.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-cryptography 49.0.0-1 —
Debian 13 python-cryptography No fix yet —
Debian 12 python-cryptography No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS python-cryptography 46.0.5-1ubuntu2.2 USN-8776-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS python-cryptography 2.1.4-1ubuntu1.4+esm6 USN-8776-1
ReleasePackageFixed inAdvisory
RHEL 10 python3.14-cryptography 45.0.4-4.el10_2.5 RHSA-2026:64795
RHEL 9 python3.14-cryptography 45.0.4-4.el9_8.6 RHSA-2026:64774
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 python-cryptography +1 50.0.0-1.hum1 RHSA-2026:55543

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 python3.14-cryptography 45.0.4-4.el10_2.5 ALSA-2026:64795
AlmaLinux 9 python3.14-cryptography 45.0.4-4.el9_8.6 ALSA-2026:64774

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 python3.14-cryptography 45.0.4-4.el10_2.5 RLSA-2026:64795
Rocky Linux 9 python3.14-cryptography 45.0.4-4.el9_8.6 RLSA-2026:64774
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-cryptography 44.0.3-160000.5.1 SUSE-SU-2026:23570-1
SLES 16.0 python-cryptography 44.0.3-160000.5.1 SUSE-SU-2026:23570-1
SLE Micro 6.2 python-cryptography 44.0.3-160000.5.1 SUSE-SU-2026:23404-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 python-cryptography 42.0.4-slfo.1.1_6.1 SUSE-SU-2026:23196-1
SLE Micro 6.0 python-cryptography 42.0.4-6.1 SUSE-SU-2026:23247-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed matrix-synapse 1.163.0-1.1 openSUSE-SU-2026:12133-1
openSUSE Leap 16.0 python-cryptography 44.0.3-160000.5.1 openSUSE-SU-2026:21685-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling az 2.91.0-r0 —
Wolfi rolling kserve-storage-controller 0.20.0-r7 —
Wolfi rolling superset-6.0 +3 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cryptography >= 45.0.0, < 49.0.0 49.0.0 GHSA-m2h6-j472-rp4c
PyPI cryptography < 49.0.0 49.0.0 PYSEC-2026-3554

Advisories 15

References