CVE-2026-69248
MEDIUM 6.9CVSS 4.0python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
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.
- Published
- 3 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-295
- Also known as
- GHSA-m2h6-j472-rp4cPYSEC-2026-3554
- Sources
- NVDJSONOSV GHSA-m2h6-j472-rp4cJSONOSV PYSEC-2026-3554JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | cryptography | >= 45.0.0, < 49.0.0 | 49.0.0 |
| OSV | PyPI | cryptography | < 49.0.0 | 49.0.0 |
References
- https://github.com/pyca/cryptography/commit/4d035a4225965edeffd312079a510ef25fcfdcb2 · WEB
- https://github.com/pyca/cryptography/pull/14888 · WEB
- https://github.com/pyca/cryptography/security/advisories/GHSA-m2h6-j472-rp4c · 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
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 3 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Aug 2026)