
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34580 is a certificate authentication bypass vulnerability in the Botan C++ cryptography library, specifically introduced in version 3.11.0. The flaw stems from a logic error in the Certificate_Store::certificate_known function, which allowed an end entity certificate whose Distinguished Name (DN) and subject key identifier matched a trusted root to be accepted as a trusted root itself — without verifying the certificates were actually identical. Only Botan version 3.11.0 is affected; the issue was fixed in 3.11.1. It was disclosed on April 7, 2026, with a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 9.3 (Critical) (GitHub Advisory, Feedly).
The root cause is classified as CWE-295 (Improper Certificate Validation). In Botan 3.11.0, the Certificate_Store::certificate_known function was designed to check whether a certificate matching a given DN (and optionally subject key identifier) existed in the trust store, but it did not verify that the matched certificate was byte-for-byte identical to the presented certificate. When path validation logic introduced in 3.11.0 called this function and assumed a true return meant the presented certificate was itself a trusted root, an attacker could craft or obtain an end entity certificate with a DN and subject key identifier matching any trusted root CA, and present it to bypass the entire certificate chain validation. The attack requires no privileges, no user interaction, and is exploitable over the network (GitHub Advisory).
Successful exploitation allows an attacker to completely bypass X.509 certificate verification in applications using Botan 3.11.0, enabling man-in-the-middle (MitM) attacks against TLS and other certificate-authenticated protocols. An attacker can impersonate any trusted entity — including certificate authorities — compromising both the confidentiality and integrity of encrypted communications and authentication mechanisms. Any system relying on Botan 3.11.0 for certificate validation (e.g., TLS clients/servers, mutual authentication systems) is at risk of accepting fraudulent certificates as fully trusted (GitHub Advisory, Feedly).
Certificate_Store::certificate_known function returns true because the DN and SKID match a trusted root, causing the path validation logic to accept the forged certificate as a trusted root — granting the attacker full impersonation of the trusted entity (GitHub Advisory)..pem, .crt, .der) with DNs matching trusted root CAs but different key material or serial numbers on systems that interact with Botan-based applications.ldd, strings, or package manager queries); Nessus plugin 305569 detection results indicating vulnerable Botan version (Feedly, Tenable).The only fix is to upgrade Botan to version 3.11.1 or later, which corrects the Certificate_Store::certificate_known function to verify certificate identity rather than just DN/SKID matching (GitHub Advisory). No configuration-based workaround is available for Botan 3.11.0. Organizations should also audit any certificate validation events that occurred during the window when Botan 3.11.0 was in use, particularly for authentication or secure communication systems, to identify potential exploitation (Feedly).
The vulnerability was credited to Nicholas Carlini with Claude (Anthropic), drawing attention as a notable example of AI-assisted vulnerability discovery in a widely used cryptographic library (GitHub Advisory). A GitHub repository tracking Anthropic-credited CVEs (patrickmgarrity/Anthropic-Credited-CVEs) has logged this finding, reflecting community interest in AI-driven security research. German Linux security outlet Pro-Linux.de covered the issue as part of a broader Botan security advisory roundup (Pro-Linux). General community reaction has been moderate, consistent with a library-level cryptographic flaw affecting a specific version.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."