wolfSSH
CVE-2025-11625
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure wolfSSH client to malicious/MITM server
-
ExploitClient skips proper host authentication
-
ExecutionImpostor completes key exchange
-
ImpactCapture and exfiltrate leaked client credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the target to be running wolfSSH in the CLIENT role at version 1.4.20 or earlier, and to initiate an SSH connection to a server the attacker controls or can man-in-the-middle (UI:P - passive user-initiated connection). The flaw is the client's failure to properly authenticate the host during the SSH key exchange, enabling an impostor server to bypass authentication and induce the client to leak its credentials. Limiting factors: exploitation is bounded to the client role (server-only deployments are not in scope here), the victim must actively connect outbound to the attacker-influenced endpoint, and no authentication on the victim side is needed by the attacker (PR:N). It is not a server-side remotely-triggerable flaw. |
| Impact | This is a genuine client-side authentication flaw (CWE-287, improper host authentication) in wolfSSH 1.4.20 and earlier, confirmed and reported by the vendor (wolfSSL) with a merged fix (PR #840). The vendor's CVSS 4.0 vector (9.4) scores network attack, low complexity, no privileges, passive user interaction (UI:P), and maxes out ALL impact metrics including subsequent-system (VC/VI/VA/SC/SI/SA all High) - that subsequent-system scoring is aggressive and inflates the headline number, since the direct consequence is credential leakage and session compromise rather than guaranteed cascading multi-system failure. Critically, there is NO EPSS score provided, this is NOT in CISA KEV (no confirmed active exploitation), and the only source-code artifact is the vendor FIX, not a weaponized exploit - so exploitation status is 'no public exploit identified at time of analysis.' The real limiting factor absent from the raw score is that this affects the CLIENT role and requires the victim to initiate a connection to an attacker-controlled or man-in-the-middle SSH server (UI:P), making it a targeted/opportunistic MITM-style risk rather than a mass-exploitable server-side RCE. Net: a legitimately serious authentication bypass worth prioritizing wherever wolfSSH is used as a client, but the 9.4 should be read against the required user-initiated connection and the lack of any exploitation or EPSS signal. |
| Exploit ScenarioDerived | A victim application using wolfSSH as an SSH client (<=1.4.20) connects to an SSH endpoint that an attacker controls or has positioned themselves in the path of. Because the client fails to properly authenticate the host during key exchange, the attacker's impostor server completes the handshake without detection and harvests the client's credentials. No public exploit code was identified at time of analysis; the only source artifact is the vendor's fix (PR #840), and exploitation requires the client to initiate the connection (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Authentication bypass in wolfSSH 1.4.20 and earlier clients allows a malicious or man-in-the-middle SSH server to skip proper host authentication during key exchange and obtain the connecting client's credentials. The victim must actively initiate an outbound SSH connection (UI:R) to an attacker-influenced endpoint, and the flaw is limited to the client role; server-only deployments are not affected. wolfSSL confirmed the issue and merged an upstream fix in PR #840; no public exploit code or CISA KEV entry was identified at time of analysis.
RemediationAI
Apply the upstream fix merged in wolfSSL wolfSSH PR #840 (https://github.com/wolfSSL/wolfssh/pull/840); the provided data does not name a tagged release version, so confirm with wolfSSL which release first contains the change and upgrade to that version. Until patched, restrict wolfSSH client connections to trusted, controlled SSH servers and networks, avoid initiating sessions to untrusted or user-supplied endpoints, and rotate any credentials used from vulnerable clients that may have connected to untrusted servers. Server-only deployments need not take client-side action per the assessment. No public exploit code or CISA KEV entry was identified at time of analysis; monitor the vendor advisory and PR for release details.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
wolfSSH is a lightweight SSH client/server library from wolfSSL. The flaw is CWE-287 (Improper Authentication), specifically in the client's host-authentication handling during SSH key exchange. The pre-fix code used a single isKeying boolean that did not distinguish local key-exchange initiation from receipt of a peer's SSH_MSG_KEXINIT, so a malicious server could send unexpected KEXINIT/NEWKEYS messages that desynchronized state and caused the client to continue without correctly verifying the host key. The merged fix in PR #840 replaces the boolean with WOLFSSH_SELF_IS_KEYING and WOLFSSH_PEER_IS_KEYING flags, rejects duplicate KEXINIT while keying, and enforces NEWKEYS state transitions. CPE cpe:2.3:a:wolfssh:wolfssh:*:*:*:*:*:*:*:* covers affected wolfSSH versions up to and including 1.4.20; per our assessment, exploitation requires the client role and a user-initiated connection to an attacker-controlled or MITM'd server.
Know when Wolfssh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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/AU:Y/U:Red
Malicious/MITM server needs no privileges (PR:N) but the client must initiate the connection (UI:R); auth bypass and credential leak give C:H/I:H, with no direct availability impact (A:N).
Primary rating from Vendor (wolfssl).
CVSS VectorVendor: wolfssl
DescriptionCVE.org
Improper host authentication vulnerability in wolfSSH version 1.4.20 and earlier clients that allows authentication bypass and leaking of clients credentials.
Executive ViewAI
wolfSSH client versions 1.4.20 and earlier contain a critical host-authentication bypass that can expose outbound SSH credentials to a malicious or man-in-the-middle server. The risk is concentrated in organizations that ship or operate wolfSSH in client mode, where a user-initiated connection to an attacker-influenced endpoint could lead to credential theft. Because no vendor-released patch is currently available, leadership should treat affected client deployments as a priority exposure.
No vendor-released patch identified at time of analysis; interim mitigations include disabling wolfSSH client mode, restricting outbound SSH to trusted endpoints via egress allowlisting, migrating to an alternative SSH client, and monitoring for anomalous credential use.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
WolfSSH v1.4.7 was discovered to contain an integer overflow via the function wolfSSH_SFTP_RecvRMDIR. Rated critical sev
Improper authentication handling in the wolfSSH key-exchange state machine (versions 1.4.21 and earlier) allows an attac
A vulnerability was found in wolfSSH's server-side state machine before versions 1.4.17. Rated critical severity (CVSS 9
Host key substitution in wolfSSH clients using ECDSA host keys lets an unauthenticated, network-positioned attacker have
Windows logon token reuse in wolfSSHd versions 1.4.15 through 1.5.0 allows an authenticated low-privilege user to impers
Pre-authentication CPU exhaustion affects wolfSSH servers through 1.5.0 that are built with Diffie-Hellman group-exchang
wolfSSH through 1.5.0, when compiled with the --enable-fwd (WOLFSSH_FWD) TCP/IP forwarding option, fails to apply its fo
An authenticated remote attacker with a valid SSH session can trigger a one-byte out-of-bounds stack write in wolfSSH v1
A heap buffer over-read vulnerability exists in the wolfSSH_CleanPath() function in wolfSSH. An authenticated remote att
Out-of-bounds read in wolfSSHd on Windows allows authenticated users to leak adjacent stack memory via malformed termina
The wolfSSH SFTP server component contains a stack-based out-of-bounds write (CWE-787) that can be triggered by an authe
NVD
CVE.org
EPSS
GitHub
Exploit-DB