{"answers":{"affected":"3 open source packages ship an affected version, including cryptography. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-34073 in the wild and no public exploit code.","fix":"Upgrade cryptography to 46.0.6 or later.","what":"CVE-2026-34073 is a low-severity vulnerability in pyca cryptography, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34073 and fix it if it is affected.\n\nWhat it is: CVE-2026-34073 is a low-severity vulnerability in pyca cryptography, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-34073 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cryptography (PyPI): affected all versions; fixed in 46.0.6\n- cryptography (PyPI): affected all versions; fixed in 46.0.6\n- cryptography (PyPI): affected all versions; fixed in 46.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34073/ (Markdown: https://insights.sbomify.com/CVE-2026-34073/index.md)","id":"CVE-2026-34073","markdown":"https://insights.sbomify.com/CVE-2026-34073/index.md","name":"CVE-2026-34073","record":{"aliases":["ALPINE-CVE-2026-34073","BELL-CVE-2026-34073","CLEANSTART-2026-JG72912","CLEANSTART-2026-VN38539","CLSA-2026-1784164006","DEBIAN-CVE-2026-34073","ECHO-4b9f-fbf8-c429","GHSA-m959-cc7f-wv43","MINI-3252-7c8v-mw55","MINI-442x-wv88-rx39","MINI-5cvx-2hcc-4r4q","MINI-5jj6-fg2h-86cx","MINI-69gm-w5w2-28gr","MINI-72g2-2cv7-x842","MINI-7m2g-53hh-4m8r","MINI-9v9j-q6mf-gg23","MINI-g87j-wv9v-jcrw","MINI-p8cp-rjq4-jh9c","MINI-q9jf-xqh9-68p2","MINI-qg8c-6w7p-wch3","MINI-qggj-gj5h-c77j","MINI-r6fj-f96m-h989","MINI-xhc4-mx2p-r2jh","MINI-xr23-8g2v-mjww","MINI-xvjq-92v2-qw2q","PYSEC-2026-35","ROOT-APP-PYPI-CVE-2026-34073","SUSE-SU-2026:21116-1","SUSE-SU-2026:21126-1","openSUSE-SU-2026:10454-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python cryptography library","requires_auth":"none","summary":"Attackers can bypass DNS name constraints in the Python cryptography library, allowing unauthorized peer validation against restricted domains.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cryptography","vendor":"cryptography.io"}],"cvss":{"score":1.7,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"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.","ecosystems":["PyPI","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"cryptography has incomplete DNS name constraint enforcement on peer names","id":"CVE-2026-34073","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"Clerk JavaScript: SSRF in the opt-in clerkFrontendApiProxy feature may leak secret keys to unintended host","id":"CVE-2026-34076"},"packages":[{"ecosystem":"PyPI","fixed":["46.0.6"],"introduced":["0"],"last_affected":[],"package":"cryptography","purl":null,"source":"GHSA-m959-cc7f-wv43"},{"ecosystem":"PyPI","fixed":["46.0.6"],"introduced":["0"],"last_affected":[],"package":"cryptography","purl":"pkg:pypi/cryptography","source":"GHSA-m959-cc7f-wv43"},{"ecosystem":"PyPI","fixed":["46.0.6"],"introduced":["0"],"last_affected":[],"package":"cryptography","purl":"pkg:pypi/cryptography","source":"PYSEC-2026-35"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["42.0.4-4.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:21126-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["42.0.4-slfo.1.1_4.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:21116-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["46.0.6-1.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/opensuse/python-cryptography\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10454-1"}],"prev":{"headline":"cronmaster: Middleware authentication bypass enabling unauthorized page access and server-action execution","id":"CVE-2026-34072"},"products":["cryptography"],"published":"2026-03-31","related":[{"cvss_score":9.1,"headline":"PyCA Cryptography symmetrically encrypting large values can lead to integer overflow","id":"CVE-2020-36242","kev_date_added":null,"published":"2021-02-07"},{"cvss_score":8.2,"headline":"cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves","id":"CVE-2026-26007","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":7.5,"headline":"cryptography NULL pointer dereference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override","id":"CVE-2024-26130","kev_date_added":null,"published":"2024-02-21"},{"cvss_score":7.5,"headline":"cryptography mishandles SSH certificates","id":"CVE-2023-38325","kev_date_added":null,"published":"2023-07-14"},{"cvss_score":6.9,"headline":"cryptography has a buffer overflow if non-contiguous buffers were passed to APIs","id":"CVE-2026-39892","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":5.9,"headline":"cryptography vulnerable to NULL-dereference when loading PKCS7 certificates","id":"CVE-2023-49083","kev_date_added":null,"published":"2023-11-29"},{"cvss_score":5.9,"headline":"RSA decryption vulnerable to Bleichenbacher timing vulnerability","id":"CVE-2020-25659","kev_date_added":null,"published":"2021-01-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["pyca"]},"summary":"Attackers can bypass DNS name constraints in the Python cryptography library, allowing unauthorized peer validation against restricted domains.","url":"https://insights.sbomify.com/CVE-2026-34073/"}