The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-34073

CVE-2026-34073: Python Cryptography Information Disclosure

CVE-2026-34073 is an information disclosure flaw in Python's cryptography package caused by improper DNS name constraint validation. This post covers the technical details, affected versions, and mitigation steps.

Published: April 2, 2026

CVE-2026-34073 Overview

CVE-2026-34073 is a Certificate Validation Bypass vulnerability in the Python cryptography package, a widely-used library designed to expose cryptographic primitives and recipes to Python developers. The vulnerability exists in how DNS name constraints are validated during certificate verification, specifically affecting how excluded subtree constraints in parent certificates are enforced against peer names.

Prior to version 46.0.6, DNS name constraints were only validated against Subject Alternative Names (SANs) within child certificates, not the "peer name" presented during each validation. This oversight allows an attacker to bypass certificate chain constraints that should prevent certain domain names from being considered valid.

Critical Impact

An attacker could use a wildcard leaf certificate (e.g., *.example.com) to successfully validate a peer name (e.g., bar.example.com) even when the certificate chain explicitly excludes that subdomain through name constraints, potentially enabling man-in-the-middle attacks.

Affected Products

  • Python cryptography package versions prior to 46.0.6

Discovery Timeline

  • March 31, 2026 - CVE-2026-34073 published to NVD
  • April 1, 2026 - Last updated in NVD database

Technical Details for CVE-2026-34073

Vulnerability Analysis

This vulnerability falls under CWE-295 (Improper Certificate Validation). The flaw resides in the certificate chain validation logic within the cryptography library's X.509 certificate verification mechanism.

X.509 Name Constraints are a critical security feature that allows Certificate Authorities (CAs) to restrict which domain names can appear in certificates issued under a specific intermediate CA. These constraints include "excluded subtrees" which explicitly forbid certain domain patterns from being valid within the certificate hierarchy.

The cryptography library correctly validated these name constraints against the Subject Alternative Names embedded within child certificates. However, the validation process failed to apply these same constraints to the "peer name" - the actual hostname being verified during a TLS handshake or certificate validation operation.

This creates a dangerous gap in security validation. When a client connects to a server and validates its certificate, the peer name check bypasses the excluded subtree constraints that would normally prevent certain domains from being trusted.

Root Cause

The root cause lies in incomplete validation logic within the certificate verification code path. The name constraint checking was implemented for SAN validation but was not extended to peer name validation. This architectural oversight means that while the certificate itself may comply with name constraints, the actual hostname being validated against that certificate does not undergo the same constraint checks.

The wildcard certificate matching logic compounds this issue, as a certificate for *.example.com would be accepted for bar.example.com even when bar.example.com is explicitly excluded in a parent certificate's name constraints extension.

Attack Vector

The vulnerability requires network access to exploit, as it involves certificate validation during network communications. An attacker could potentially exploit this flaw through a man-in-the-middle attack scenario:

  1. The attacker obtains or controls a valid wildcard certificate for a domain (e.g., *.example.com)
  2. The certificate chain contains a parent certificate that explicitly excludes certain subdomains (e.g., bar.example.com) via name constraints
  3. Despite this exclusion, the attacker can present this certificate when a client attempts to connect to bar.example.com
  4. Due to the validation bypass, the cryptography library accepts the certificate as valid for the excluded subdomain

The vulnerability mechanism involves the disconnect between SAN-based constraint validation and peer name validation. When validating a certificate chain, the library properly checks that the leaf certificate's SANs don't violate parent name constraints, but fails to apply the same check when the actual peer name is compared against the certificate. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-34073

Indicators of Compromise

  • Unexpected TLS connections succeeding to subdomains that should be excluded by name constraints
  • Certificate validation logs showing accepted certificates for domains matching excluded subtree patterns
  • Applications connecting to potentially spoofed endpoints despite properly configured certificate hierarchies

Detection Strategies

  • Review application dependency manifests for cryptography package versions below 46.0.6
  • Audit TLS connection logs for connections to sensitive subdomains that rely on name constraint protection
  • Implement certificate transparency monitoring for domains protected by name constraints
  • Use software composition analysis (SCA) tools to identify vulnerable cryptography installations

Monitoring Recommendations

  • Monitor for anomalous TLS handshakes to subdomains expected to be blocked by name constraints
  • Set up alerts for certificate validation events involving wildcard certificates against specific subdomain patterns
  • Track dependency version updates across Python applications using the cryptography library

How to Mitigate CVE-2026-34073

Immediate Actions Required

  • Upgrade the cryptography package to version 46.0.6 or later immediately
  • Audit all Python applications using the cryptography library for TLS/certificate validation
  • Review any systems relying on X.509 name constraints for security boundaries
  • Consider additional hostname verification layers until patching is complete

Patch Information

The vulnerability has been addressed in cryptography version 46.0.6. The fix ensures that DNS name constraints, including excluded subtrees, are properly validated against both the certificate's Subject Alternative Names and the peer name during validation. For additional details, refer to the GitHub Security Advisory for GHSA-m959-cc7f-wv43.

Workarounds

  • Implement additional hostname verification at the application layer as a defense-in-depth measure
  • Consider network-level controls to restrict access to sensitive subdomains that rely on name constraint protection
  • Deploy monitoring to detect exploitation attempts while awaiting patch deployment
bash
# Upgrade cryptography package to patched version
pip install --upgrade cryptography>=46.0.6

# Verify installed version
pip show cryptography | grep Version

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechCryptography

  • SeverityLOW

  • CVSS Score1.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS 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
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-295
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-26007: Cryptography Package Info Disclosure Flaw

  • CVE-2020-25659: Cryptography RSA Timing Attack Vulnerability

  • CVE-2023-49083: Cryptography.io Cryptography DoS Flaw

  • CVE-2023-23931: Cryptography.io Buffer Mutation Vulnerability
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