Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-69248

Опубликовано: 03 авг. 2026
Источник: redhat
CVSS3: 7.4
EPSS Низкий

Описание

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.

A flaw was found in python-cryptography versions 46.0.6 through 48.x. The X.509 verifier incorrectly handles wildcard DNS Subject Alternative Names when evaluating permitted name constraints: a leaf SAN such as *.example.com may be accepted under a more specific permitted subtree (for example foo.example.com), allowing escape to sibling names outside the permitted set. This can lead to acceptance of an invalid certificate chain. Ordinary Web PKI topologies are not affected.

Отчет

Red Hat scores High confidentiality and integrity because a successful bypass accepts an invalid certificate chain (name-constraint escape), while Attack Complexity is High because exploitation requires a DNS-constrained intermediate CA that issues a broader wildcard leaf SAN than its permitted subtree—topology that Web PKI does not use. Vulnerable code was introduced in cryptography 46.0.6 (DNSConstraint::matches / PR #14542) and fixed in 49.0.0; versions before 46.0.6 are not affected by this specific permittedSubtrees escape.

Меры по смягчению последствий

Red Hat is not aware of a practical temporary workaround that fully mitigates this issue or meets Red Hat Product Security's standards for usability, deployment, applicability, or stability. Customers are advised to apply the relevant security updates when/if they become available.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ansible Automation Platform 2python3.11-cryptographyNot affected
Red Hat Ansible Automation Platform 2python3.12-cryptographyFix deferred
Red Hat Ansible Automation Platform 2python3x-cryptographyNot affected
Red Hat Ansible Automation Platform 2python-cryptographyFix deferred
Red Hat Enterprise Linux 10python-cryptographyNot affected
Red Hat Enterprise Linux 7python-cryptographyNot affected
Red Hat Enterprise Linux 8python3.12-cryptographyNot affected
Red Hat Enterprise Linux 8python-cryptographyNot affected
Red Hat Enterprise Linux 9python3.12-cryptographyNot affected
Red Hat Enterprise Linux 9python-cryptographyNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-295
https://bugzilla.redhat.com/show_bug.cgi?id=2510830python-cryptography: python-cryptography: python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

EPSS

Процентиль: 16%
0.00244
Низкий

7.4 High

CVSS3

Связанные уязвимости

ubuntu
4 месяца назад

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.

nvd
4 месяца назад

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.

msrc
3 месяца назад

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

debian
4 месяца назад

cryptography is a package designed to expose cryptographic primitives ...

github
4 месяца назад

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

EPSS

Процентиль: 16%
0.00244
Низкий

7.4 High

CVSS3