# CVE-2026-69248: python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-03T21:21:43.710Z
- Modified: 2026-10-23T21:10:00.157Z
- Also known as: GHSA-m2h6-j472-rp4c, PYSEC-2026-3554
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- pyca cryptography: < 49.0.0
- cryptography (PyPI): from 45.0.0 before 49.0.0; before 49.0.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/pyca/cryptography/security/advisories/GHSA-m2h6-j472-rp4c> (exploit, web)
- <https://github.com/pyca/cryptography/pull/14888> (web)
- <https://github.com/pyca/cryptography/commit/4d035a4225965edeffd312079a510ef25fcfdcb2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-69248> (advisory)
- <https://github.com/pyca/cryptography/commit/286c89128> (web)
- <https://github.com/pyca/cryptography> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3554.yaml> (web)
- <https://pypi.org/project/cryptography> (package)
- <https://github.com/advisories/GHSA-m2h6-j472-rp4c> (advisory)

## Sources

- CVE List: [CVE-2026-69248](https://www.cve.org/CVERecord?id=CVE-2026-69248), CVE Terms of Use, modified 2026-09-02
- GitHub Advisory Database: [GHSA-m2h6-j472-rp4c](https://github.com/advisories/GHSA-m2h6-j472-rp4c), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2026-69248](https://nvd.nist.gov/vuln/detail/CVE-2026-69248), Public domain, modified 2026-10-23
- PyPA Advisory Database: [PYSEC-2026-3554](https://osv.dev/vulnerability/PYSEC-2026-3554), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-69248 · Whole record: https://cve.day/CVE-2026-69248.json · Rebuilt by cve.day 2026-11-25T22:59:30.915Z
