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
    • 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-2025-15346

CVE-2025-15346: wolfSSL-py mTLS Auth Bypass Vulnerability

CVE-2025-15346 is an authentication bypass flaw in the wolfSSL Python package that allows attackers to bypass mutual TLS client authentication. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-15346 Overview

A critical authentication bypass vulnerability has been identified in the wolfSSL Python package (wolfssl-py) that undermines mutual TLS (mTLS) client certificate enforcement. The vulnerability stems from improper handling of the verify_mode = CERT_REQUIRED configuration setting, which fails to properly enforce client certificate requirements during TLS handshakes.

The flaw occurs because the WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT flag was not included when CERT_REQUIRED was specified, causing the behavior to effectively match CERT_OPTIONAL. This means that while a peer certificate would be verified if presented, connections were incorrectly authenticated even when no client certificate was provided at all.

Critical Impact

Attackers can bypass mutual TLS (mTLS) client authentication entirely by simply omitting a client certificate during the TLS handshake, gaining unauthorized access to systems that rely on client certificate verification for authentication.

Affected Products

  • wolfssl-py (wolfSSL Python package) versions up to and including 5.8.2
  • Python applications implementing mTLS using wolfssl-py with CERT_REQUIRED verification mode
  • Server-side TLS implementations using wolfssl-py for client certificate authentication

Discovery Timeline

  • 2026-01-08 - CVE CVE-2025-15346 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-15346

Vulnerability Analysis

This authentication bypass vulnerability (CWE-287) affects the core TLS verification mechanism in the wolfSSL Python binding. The vulnerability is network-exploitable without requiring any authentication or user interaction, making it particularly dangerous for applications relying on mTLS for access control.

The impact of this vulnerability is severe for organizations using mTLS as their primary authentication mechanism. Mutual TLS is commonly deployed in zero-trust architectures, microservice communication, API authentication, and IoT device management scenarios. When CERT_REQUIRED doesn't function as expected, the entire security model collapses—any client can establish a "secure" connection without proving their identity.

The fix in version 5.8.4 correctly implements the verification mode by combining the _SSL_VERIFY_PEER and _SSL_VERIFY_FAIL_IF_NO_PEER_CERT flags, ensuring connections are properly rejected when no client certificate is provided.

Root Cause

The root cause lies in the constant definition for CERT_REQUIRED in the wolfssl/__init__.py file. The original implementation defined CERT_REQUIRED = 1, which corresponds only to SSL_VERIFY_PEER. For proper enforcement of mandatory client certificates, the implementation must also include the SSL_VERIFY_FAIL_IF_NO_PEER_CERT flag (value 2). Without this flag, the TLS stack verifies certificates when present but doesn't require their presence—a subtle but critical distinction that effectively downgrades security from "required" to "optional."

Attack Vector

An attacker can exploit this vulnerability through the following network-based attack:

  1. Identify a target server using wolfssl-py with CERT_REQUIRED verification mode for mTLS authentication
  2. Initiate a TLS handshake without presenting a client certificate
  3. The server, due to the missing WOLFSSL_VERIFY_FAIL_IF_NO_PEER_CERT flag, accepts the connection
  4. The attacker gains authenticated access without possessing valid client credentials

The following patch shows the security fix implemented in version 5.8.4:

python
     PROTOCOL_DTLSv1_3, WolfSSLMethod as _WolfSSLMethod
 )
 
-CERT_NONE = 0
-CERT_REQUIRED = 1
+_SSL_VERIFY_NONE = 0
+_SSL_VERIFY_PEER = 1
+_SSL_VERIFY_FAIL_IF_NO_PEER_CERT = 2
 
-_VERIFY_MODE_LIST = [CERT_NONE, CERT_REQUIRED]
+CERT_NONE = _SSL_VERIFY_NONE
+CERT_OPTIONAL = _SSL_VERIFY_PEER
+CERT_REQUIRED = (_SSL_VERIFY_PEER | _SSL_VERIFY_FAIL_IF_NO_PEER_CERT)
+
+_VERIFY_MODE_LIST = [CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED]
 
 _SSL_SUCCESS = 1
 _SSL_FILETYPE_PEM = 1

Source: GitHub Commit b4517dece79f682a8f453abce5cfc0b81bae769d

The fix properly combines _SSL_VERIFY_PEER (1) with _SSL_VERIFY_FAIL_IF_NO_PEER_CERT (2) using a bitwise OR operation, resulting in CERT_REQUIRED = 3, which enforces that client certificates must be both verified and present.

Detection Methods for CVE-2025-15346

Indicators of Compromise

  • TLS connections successfully authenticated without client certificates to services configured for mTLS
  • Authentication logs showing access from clients that should not have valid credentials
  • Unexpected connections to mTLS-protected endpoints from unknown sources
  • Network traffic analysis showing TLS handshakes completing without client certificate exchange

Detection Strategies

  • Audit wolfssl-py package versions in all Python applications; versions ≤5.8.2 are vulnerable
  • Review TLS handshake logs for connections where verify_mode = CERT_REQUIRED was configured but no client certificate was presented
  • Implement network monitoring to detect TLS connections to mTLS endpoints that lack client certificate negotiation
  • Deploy SentinelOne Singularity platform to identify vulnerable package versions and monitor for authentication anomalies

Monitoring Recommendations

  • Enable verbose TLS logging to capture certificate verification details during handshakes
  • Monitor authentication patterns for services using wolfssl-py, flagging connections without client certificates
  • Set up alerts for successful authentications to mTLS-protected services from sources without corresponding client certificate issuance records

How to Mitigate CVE-2025-15346

Immediate Actions Required

  • Upgrade wolfssl-py to version 5.8.4 or later immediately
  • Audit all production systems using wolfssl-py to identify affected deployments
  • Review access logs for evidence of unauthorized connections to mTLS-protected services
  • Consider temporarily adding additional authentication layers until patching is complete

Patch Information

The vulnerability has been addressed in wolfssl-py version 5.8.4-stable. The fix properly implements the CERT_REQUIRED constant by combining _SSL_VERIFY_PEER and _SSL_VERIFY_FAIL_IF_NO_PEER_CERT flags.

Patch Resources:

  • GitHub Release v5.8.4-stable
  • GitHub Commit with Fix
  • GitHub Pull Request Discussion

Workarounds

  • If immediate patching is not possible, implement additional authentication mechanisms (API keys, session tokens) as defense-in-depth
  • Deploy network-level access controls to restrict connectivity to mTLS-protected services
  • Consider using alternative TLS libraries (such as Python's built-in ssl module) until patching can be completed
  • Implement application-layer certificate validation as an additional check beyond the TLS library's verification
bash
# Upgrade wolfssl-py to patched version
pip install --upgrade wolfssl>=5.8.4

# Verify installed version
pip show wolfssl | grep Version

# For projects using requirements.txt, update the version constraint
# wolfssl>=5.8.4

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechWolfssl

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/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:Y/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request Discussion

  • GitHub Release v5.8.4
  • Related CVEs
  • CVE-2026-5466: wolfSSL ECCSI Auth Bypass Vulnerability

  • CVE-2026-2645: wolfSSL TLS Auth Bypass Vulnerability

  • CVE-2026-5501: wolfSSL Information Disclosure Vulnerability

  • CVE-2026-5477: wolfCrypt CMAC Integer 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