CVE-2026-34073Cryptography.io Cryptography
Low 1.7 No auth needed
Follow: this CVE · Cryptography.io · Cryptography.io Cryptography We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 4.0
- 1.7
- EPSS
- —
- Auth required
- No
- Published
- Mar 31, 2026
- Updated
- Nov 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/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
What happens
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
What to do
- Apply the vendor's security update for Cryptography.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cryptography |
< 46.0.6 |
46.0.6 |
pip install "cryptography>=46.0.6" |
| PyPI | cryptography |
< 46.0.6 |
46.0.6 |
pip install "cryptography>=46.0.6" |
Per OSV / GitHub Advisories (GHSA-m959-cc7f-wv43, PYSEC-2026-35). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptography.io | cryptography | ≥ 45.0.0 < 46.0.6 |
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7295 · Apr 20, 2026 High
- Security update for python-cryptography · SUSE · SUSE-SU-2026:21116-1 · Apr 14, 2026 Low
- Security update for python-cryptography · SUSE · SUSE-SU-2026:21126-1 · Apr 14, 2026 Low
- Security update for python-cryptography · SUSE · openSUSE-SU-2026:20506-1 · Apr 10, 2026 High
Also: SUSE (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- www.kb.cert.org Third Party Advisory