Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34580

CVE-2026-34580: Botan C++ Authentication Bypass Flaw

CVE-2026-34580 is an authentication bypass vulnerability in Botan C++ cryptography library that allows attackers to present malicious certificates as trusted roots. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-34580 Overview

CVE-2026-34580 is a certificate validation bypass vulnerability in Botan, a widely-used C++ cryptography library. The vulnerability exists in version 3.11.0 where the Certificate_Store::certificate_known function contains flawed logic that can allow an attacker to present a malicious end entity certificate that gets accepted as a trusted root certificate if its Distinguished Name (DN) and subject key identifier match those of any trusted root in the certificate store.

Critical Impact

An attacker can bypass certificate validation entirely by crafting an end entity certificate with a DN matching a trusted root, allowing the malicious certificate to be immediately accepted as trusted. This undermines the entire PKI trust model and enables man-in-the-middle attacks.

Affected Products

  • Botan C++ Cryptography Library version 3.11.0

Discovery Timeline

  • 2026-04-07 - CVE-2026-34580 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-34580

Vulnerability Analysis

This vulnerability stems from a semantic mismatch between the certificate_known function's behavior and the assumptions made by the path validation logic introduced in version 3.11.0. The function was designed to check whether any certificate in the store has a matching DN (and subject key identifier, if set), but it does not verify that the certificate being checked and the stored certificate are actually identical.

When the path validation extension was implemented, developers assumed that certificate_known returning true meant the certificates were byte-for-byte identical. This incorrect assumption creates a critical gap where certificate chain validation can be completely bypassed.

The vulnerability is classified under CWE-295 (Improper Certificate Validation), which represents a fundamental failure in the cryptographic trust establishment process.

Root Cause

The root cause lies in the misleading semantics of the certificate_known function. The function performs a partial match based on DN and optional subject key identifier, but the newly extended path validation logic incorrectly assumed it performed a complete certificate comparison. When an end entity certificate's DN matches a trusted root's DN, the validation short-circuits and accepts the end entity certificate as if it were the trusted root itself.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Obtaining knowledge of a trusted root certificate's Distinguished Name (DN) and subject key identifier
  2. Crafting a malicious end entity certificate with matching DN and subject key identifier values
  3. Presenting this certificate during a TLS handshake or other certificate validation context
  4. The vulnerable Botan library will incorrectly accept this certificate as a trusted root

The vulnerability allows complete bypass of certificate chain validation, enabling attackers to impersonate any server or entity, intercept encrypted communications, and perform man-in-the-middle attacks without detection by the affected application.

Detection Methods for CVE-2026-34580

Indicators of Compromise

  • Unusual certificate chains where end entity certificates claim root-level trust
  • TLS connections established with certificates that have root-like DNs but are not actual trusted roots
  • Certificate validation logs showing acceptance of certificates without proper chain verification
  • Anomalous certificate presentations during handshakes where the certificate DN matches known trusted roots

Detection Strategies

  • Monitor certificate validation events for certificates accepted without complete chain verification
  • Implement additional certificate fingerprint verification independent of Botan's validation
  • Deploy network monitoring to detect certificates with DNs matching trusted roots but different public keys
  • Enable verbose logging in applications using Botan to track certificate validation decisions

Monitoring Recommendations

  • Audit all deployed applications using Botan 3.11.0 for certificate validation functionality
  • Implement certificate transparency monitoring to detect rogue certificates impersonating trusted entities
  • Set up alerting for any certificate accepted as trusted that doesn't match known certificate fingerprints
  • Review TLS connection logs for certificates that bypass normal chain validation patterns

How to Mitigate CVE-2026-34580

Immediate Actions Required

  • Upgrade Botan to version 3.11.1 or later immediately
  • Audit any applications using Botan 3.11.0 for certificate validation functionality
  • Review recent connections for potential exploitation attempts
  • Consider implementing additional certificate pinning as defense in depth

Patch Information

The vulnerability is fixed in Botan version 3.11.1. Organizations should update their Botan installations immediately. For detailed patch information and release notes, refer to the GitHub Security Advisory.

Workarounds

  • If immediate upgrade is not possible, implement additional certificate validation checks independent of certificate_known
  • Consider certificate pinning for critical connections to ensure only expected certificates are accepted
  • Temporarily disable or bypass the affected path validation extension if application architecture permits
  • Implement application-level certificate fingerprint verification before accepting certificates
bash
# Upgrade Botan to patched version
# For package manager installations, update to 3.11.1 or later
# Example for building from source:
git clone https://github.com/randombit/botan.git
cd botan
git checkout 3.11.1
./configure.py
make
make install

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechBotan

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34582: Botan TLS 1.3 Auth Bypass Vulnerability

  • CVE-2026-32884: Botan C++ Authentication Bypass Vulnerability

  • CVE-2026-32883: Botan Information Disclosure Vulnerability

  • CVE-2026-32877: Botan C++ Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English