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-2025-14942

CVE-2025-14942: wolfSSH Auth Bypass Vulnerability

CVE-2025-14942 is an authentication bypass flaw in wolfSSH that allows attackers to manipulate the key exchange state machine and leak client passwords. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-14942 Overview

A critical authentication bypass vulnerability has been discovered in wolfSSH's key exchange state machine that allows attackers to manipulate the SSH handshake process. This flaw enables multiple attack scenarios including leaking client passwords in cleartext, tricking clients into sending bogus signatures, or completely bypassing user authentication. The vulnerability affects wolfSSH version 1.4.21 and earlier, impacting both client and server applications using this library.

Critical Impact

Attackers can intercept SSH sessions to steal credentials in plaintext, forge authentication signatures, or bypass user authentication entirely, compromising the confidentiality and integrity of encrypted communications.

Affected Products

  • wolfSSH version 1.4.21 and earlier (client applications)
  • wolfSSH version 1.4.21 and earlier (server applications)
  • Applications built using vulnerable wolfSSH library versions

Discovery Timeline

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

Technical Details for CVE-2025-14942

Vulnerability Analysis

This vulnerability stems from improper authentication handling (CWE-287) in wolfSSH's key exchange state machine implementation. The SSH protocol relies on a carefully orchestrated state machine to handle the key exchange and authentication phases securely. In affected versions of wolfSSH, the state machine can be manipulated by an attacker positioned between the client and server, enabling man-in-the-middle attacks.

The flaw allows three distinct attack scenarios: First, an attacker can force the client to transmit its password in cleartext by manipulating the negotiation process. Second, the state machine can be exploited to trick the client into generating and sending an invalid or bogus cryptographic signature. Third, and most critically, an attacker can manipulate the state transitions to cause the client to skip the user authentication phase entirely.

Root Cause

The vulnerability exists due to improper state validation in the key exchange state machine. The implementation fails to properly enforce the expected sequence of SSH protocol messages, allowing an attacker to inject or modify messages that alter the state machine's behavior. This represents a fundamental flaw in the protocol implementation where state transitions are not adequately validated against expected protocol behavior.

Attack Vector

The attack requires network access and targets the SSH connection establishment process. An attacker capable of intercepting network traffic between a wolfSSH client and server can manipulate the key exchange messages to exploit the state machine flaw. The attack requires some user interaction in the form of the victim initiating an SSH connection.

The exploitation involves injecting or modifying SSH protocol messages during the initial handshake to manipulate the state machine into an unintended state. This could involve:

  • Modifying negotiation messages to force fallback to insecure authentication methods
  • Injecting messages that cause state machine transitions that skip security checks
  • Manipulating the sequence of protocol messages to expose credentials before encryption is established

Detection Methods for CVE-2025-14942

Indicators of Compromise

  • Unexpected or malformed SSH protocol messages during connection establishment
  • Authentication attempts that succeed without proper credential validation
  • Cleartext password transmissions detected in SSH session traffic
  • Anomalous state transitions in SSH handshake logging

Detection Strategies

  • Monitor network traffic for SSH connections exhibiting unusual handshake patterns
  • Implement deep packet inspection to identify malformed or out-of-sequence SSH protocol messages
  • Review authentication logs for connections that bypass expected authentication steps
  • Deploy network intrusion detection rules targeting SSH protocol anomalies

Monitoring Recommendations

  • Enable verbose logging on wolfSSH applications to capture detailed handshake information
  • Implement network-level monitoring for SSH traffic anomalies between known clients and servers
  • Set up alerts for successful authentications that lack corresponding credential validation events
  • Monitor for unusual patterns in SSH key exchange timing or message ordering

How to Mitigate CVE-2025-14942

Immediate Actions Required

  • Update wolfSSH to a version that includes the security fix (versions after 1.4.21)
  • Apply the security patch available via GitHub Pull Request #855
  • Rotate and update all credentials used with affected wolfSSH applications
  • Review authentication logs for signs of previous exploitation

Patch Information

The fix for this vulnerability is available through the official wolfSSH repository. Users should apply the patch from GitHub Pull Request #855 or update to a patched version of wolfSSH. The security researchers Aina Toky Rasoamanana of Valeo and Olivier Levillain of Telecom SudParis who discovered this vulnerability have been acknowledged by the vendor.

Server applications using wolfSSH should also be updated, as the same defect exists in the server-side implementation even though specific server attacks have not been identified.

Workarounds

  • Restrict SSH connections to trusted network segments where man-in-the-middle attacks are less feasible
  • Implement additional network-layer authentication such as VPNs or IPsec tunnels for wolfSSH connections
  • Consider temporarily using alternative SSH implementations until the patch can be applied
  • Implement network monitoring to detect and alert on suspicious SSH traffic patterns

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechWolfssh

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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:Red
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Pull Request
  • Related CVEs
  • CVE-2024-2873: WolfSSH Auth Bypass Vulnerability

  • CVE-2025-11625: WolfSSH Auth Bypass Vulnerability

  • CVE-2025-15382: wolfSSH Heap Buffer Overflow Vulnerability

  • CVE-2025-11624: WolfSSH SFTP 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