Threat reportVulnerabilityTL-2026-3044
wolfSSH 1.6.0 patches 5 vulnerabilities incl. critical ECDSA host-key MITM (CVE-2026-16516) and Windows wolfSSHd auth-token reuse (CVE-2026-83540)
wolfSSL released wolfSSH 1.6.0 on 2026-10-06 fixing five vulnerabilities in the embedded SSH library: an ECDSA host-key curve mismatch enabling man-in-the-middle (CVE-2026-16516, CVSS v4 9.0), a Windows wolfSSHd logon-token reuse privilege issue (CVE-2026-83540, 7.7), unauthenticated DH group-exchange CPU exhaustion (CVE-2026-84897, 6.9), unauthorized forwarded-tcpip channel opens (CVE-2026-81535, 6.3) and a one-byte stack overflow in wolfSSH_RealPath() (CVE-2026-83742, 5.3).
Key facts
| Identifiers | TL-2026-3044, CVE-2026-16516, CVE-2026-83540, CVE-2026-84897, CVE-2026-81535, CVE-2026-83742 |
|---|---|
| Severity | CRITICAL |
| CVSS | 9 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N) |
| EPSS | CVE-2026-83540: 0.3% (25.0th percentile); CVE-2026-83742: 0.3% (24.1th percentile); CVE-2026-84897: 0.3% (20.9th percentile) |
| Affected products | wolfSSL wolfSSH (library, ECDSA host-key verification, CVE-2026-16516); wolfSSL wolfSSHd on Windows (CVE-2026-83540); wolfSSL wolfSSH server DH group exchange (CVE-2026-84897); wolfSSL wolfSSH built with --enable-fwd (CVE-2026-81535); wolfSSL wolfSSH on non-Windows platforms, wolfSSH_RealPath/SFTP (CVE-2026-83742) |
| Weaknesses (CWE) | CWE-345, CWE-287, CWE-613, CWE-372, CWE-405, CWE-400, CWE-862, CWE-863, CWE-191, CWE-121 |
| MITRE ATT&CK techniques | T1021.004 Remote Services: SSH, T1078 Valid Accounts, T1134 Access Token Manipulation, T1190 Exploit Public-Facing Application, T1499.004 Endpoint Denial of Service: Application or System Exploitation, T1557 Adversary-in-the-Middle |
| Motivation | UNKNOWN |
| Target sectors | technology, embedded-iot, industrial, telecoms, government administration |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-10-10, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3044 across Splunk SPL, Microsoft KQL and Sigma, covering 15 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Windows wolfSSHd Elevated Session Child After Low-Privilege Logon (CVE-2026-83540 Token Reuse)
Flags hosts where wolfsshd.exe authenticated a non-privileged account (Security 4624 with wolfsshd.exe as the logon process) and, within the same 10-minute window, spawned a High/System-integrity child process. CVE-2026-83540 (Windows wolfSSHd 1.4.15-1.5.0) fails to release a logon token between connections and shares one authentication context across concurrent connections, so a low-privileged user can end up in a session running as a more privileged user. The elevated child is the observable consequence.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1134, T1078
- Data sources: windows_security (4624), sysmon (EventCode 1), microsoft_defender_for_endpoint (DeviceLogonEvents, DeviceProcessEvents), privileged_accounts lookup/watchlist
- Severity: high
- Confidence: medium
Splunk SPL
```CVE-2026-83540: low-priv wolfsshd logon + elevated wolfsshd child on the same host in 10m```
(index=windows sourcetype="XmlWinEventLog:Security" EventCode=4624 ProcessName="*wolfsshd.exe") OR (index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 ParentImage="*wolfsshd.exe")
| eval logon_user=if(EventCode=4624, lower(TargetUserName), null())
| lookup privileged_accounts.csv user AS logon_user OUTPUT is_privileged
| eval lowpriv_logon=if(EventCode=4624 AND NOT match(logon_user, "[$]$") AND isnull(is_privileged), 1, 0)
| eval elevated_child=if(EventCode=1 AND (in(IntegrityLevel, "High", "System") OR like(lower(User), "%system")), 1, 0)
| eval child_detail=if(elevated_child=1, User." | ".Image." | ".CommandLine, null())
| bin _time span=10m
| stats sum(lowpriv_logon) AS lowpriv_logons, values(logon_user) AS wolfsshd_logon_users, sum(elevated_child) AS elevated_children, values(child_detail) AS elevated_child_detail BY _time Computer
| where lowpriv_logons >= 1 AND elevated_children >= 1Microsoft KQL
// CVE-2026-83540: low-privilege wolfsshd logon followed by an elevated wolfsshd child on the same device
let lookback = 1h;
let window = 10m;
let adminAccounts = toscalar(_GetWatchlist('privileged_accounts') | summarize make_set(tolower(tostring(SearchKey))));
let lowPrivLogons = DeviceLogonEvents
| where Timestamp > ago(lookback)
| where ActionType == 'LogonSuccess'
| where InitiatingProcessFileName =~ 'wolfsshd.exe'
| extend LogonAccount = tolower(AccountName)
| where LogonAccount !in (adminAccounts)
| project LogonTime = Timestamp, DeviceId, LogonAccount, RemoteIP, LogonType;
DeviceProcessEvents
| where Timestamp > ago(lookback)
| where InitiatingProcessFileName =~ 'wolfsshd.exe'
| where ProcessTokenElevation =~ 'TokenElevationTypeFull' or tolower(AccountName) in ('system', 'administrator')
| join kind=inner lowPrivLogons on DeviceId
| where Timestamp between (LogonTime .. (LogonTime + window))
| where tolower(AccountName) != LogonAccount
| project Timestamp, DeviceName, LogonAccount, RemoteIP, ChildAccount = AccountName, FileName, ProcessCommandLine, ProcessTokenElevationSigma
title: Elevated Child Process Spawned By Windows wolfSSHd (CVE-2026-83540)
id: e19f6b34-5a07-4c82-b3d9-8f1a40d7e625
status: experimental
description: Detects High or System integrity processes spawned directly by wolfsshd.exe. On Windows wolfSSHd 1.4.15-1.5.0 a logon token may be reused across connections, letting a low-privileged SSH user run as a more privileged account. Pair with the privileged-account context in the SIEM versions of this detection to reduce noise.
references:
- https://github.com/wolfSSL/wolfssh/releases/tag/v1.6.0-stable
- https://cveawg.mitre.org/api/cve/CVE-2026-83540
author: Threadlinqs Team
date: 2026-10-08
tags:
- attack.privilege_escalation
- attack.defense_evasion
- attack.t1134
- attack.initial_access
- attack.t1078
- cve.2026.83540
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith: '\wolfsshd.exe'
selection_elevated:
- IntegrityLevel:
- 'System'
- 'High'
- User|contains: 'AUTHORITY\SYSTEM'
condition: selection_parent and selection_elevated
falsepositives:
- Administrators legitimately logging in over wolfSSHd and running elevated commands
- Service-account automation that connects as an administrator
level: highKnown false positives:
- Administrators who legitimately SSH into wolfSSHd and run elevated commands
- Automation using privileged service accounts over wolfSSHd
Tuning notes: Maintain privileged_accounts (lookup/watchlist) so legitimate admin logons are excluded; this is what separates token reuse from normal admin use. Assumes the 4624 Process Name reflects wolfsshd.exe, which depends on how the build calls LogonUser; validate on a test host first. The Sigma form cannot correlate the logon and is noisier. Scope to Windows hosts running wolfsshd.exe 1.4.15-1.5.0 and retire after upgrading to 1.6.0.
- SSH Server Host Key Changed Or Switched Curve - Possible Host-Key MITM (CVE-2026-16516) · unlock with TL Creds
- Vulnerable wolfSSHd Version (< 1.6.0) Running On Windows Host · unlock with TL Creds
- wolfSSH / SFTP Daemon Crash Indicating wolfSSH_RealPath Overflow Attempt (CVE-2026-83742) · unlock with TL Creds
- Concurrent Distinct-Account Logons Through Windows wolfSSHd (CVE-2026-83540 Race Precondition) · unlock with TL Creds
- Discovery And Credential Tooling Spawned By Windows wolfSSHd Session · unlock with TL Creds
- Authenticated Windows wolfSSHd Logon From Non-Private Source Address · unlock with TL Creds
- wolfSSH Unauthenticated DH Group-Exchange CPU Exhaustion Connection Churn (CVE-2026-84897) · unlock with TL Creds
- wolfSSH Host Making First-Seen Internal Connections (Forwarding Abuse, CVE-2026-81535) · unlock with TL Creds
Indicators of compromise
As of 2026-10-10, Threadlinqs Intelligence tracks 15 indicators of compromise for TL-2026-3044.
Sample indicators (3 of 15)
- File hash:
31d13697a608fa1bf9eec11aa6eff1503ade836f - File hash:
616eb681e70759c30c3ba158f2b18d7bd954def8 - File hash:
79a7f299337a28aa561409688a268d0efe6e295c
Defanged, TLP:CLEAR. Full set of 15 indicators: unlock with TL Creds.
Technical analysis
No in-the-wild exploitation or public PoC is reported.
wolfSSH is wolfSSL's lightweight, embeddable SSH client/server library and also ships the wolfSSHd daemon. Version 1.6.0-stable (released 2026-10-06) fixes five CVEs published by the wolfSSL CNA on 2026-10-07. All affect releases up to and including 1.5.0.
CVE-2026-16516 (Critical, CVSS v4.0 9.0, CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N, CWE-345, CAPEC-475): wolfSSH did not verify that the ECDSA curve in the KEXDH_REPLY host-key blob matched the curve negotiated during key exchange. The curve is derived from the blob's algorithm string and the RFC 5656 curve identifier is skipped instead of compared. An active man-in-the-middle can substitute a host key on a different curve, sign the exchange with their own private key, and signature verification passes. Exploitation additionally requires a weak public-key-check callback in the application (trust-on-first-use, algorithm-name-only checks, or fingerprint matching against the parsed key). Affects all versions through 1.5.0 (src/internal.c). Reported by zhangph (GitHub afldl), tracked in issue #1012, fixed by PR #1022. CISA ADP SSVC: Exploitation none, Automatable no, Technical Impact partial.
CVE-2026-83540 (High, CVSS v4.0 7.7, CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, CWE-287 and CWE-613, CAPEC-233): on the Windows port of wolfSSHd, a logon token from one authenticated connection was not released before a token was acquired for the next, and concurrent connections shared one authentication context. A low-privileged user with a valid account can end up logged in as a more privileged user, via both password and public-key authentication. Affected code is apps/wolfsshd/auth.c (SetupUserTokenWin, CheckPasswordWIN); introduced with the initial Windows port in 1.4.15, so 1.4.15-1.5.0 on Windows only. Found by internal wolfSSL testing; fixed by PR #1163 (each Windows wolfSSHd connection now gets its own authentication context plus a sanity close of the token). Workaround: restrict which accounts can connect; disabling public-key authentication alone does not help.
CVE-2026-84897 (Medium, CVSS v4.0 6.9, CWE-372/405/400, CAPEC-227): the server accepts the server-to-client DH group-exchange messages SSH_MSG_KEX_DH_GEX_GROUP (31) and SSH_MSG_KEX_DH_GEX_REPLY (33) from an unauthenticated client. After negotiating diffie-hellman-group-exchange-sha256, a client sending message 31 makes the server run two Miller-Rabin primality tests on an attacker-supplied value of up to 8192 bits, then generate a key pair in the attacker's group. One ~1 KB packet costs roughly 0.48 s of single-core CPU at 4096 bits and ~5.8 s at 8192 bits, repeatable on every connection. Affects 1.2.0-1.5.0 (primality cost from 1.5.0). Builds defining WOLFSSH_NO_DH_GEX_SHA256 are unaffected. Fixed by PR #1221; found by an academic team (Abdullah Al Ishtiaq, Kai Tu, Matthew Carter, Xiaotian Zhou, Ananna Rahman, Yilu Dong, Tianwei Yu, Ali Ranjbar, Syed Rafiul Hussain). SSVC: Automatable yes.
CVE-2026-81535 (Medium, CVSS v4.0 6.3, CWE-862/863, CAPEC-130): with --enable-fwd, the channel-open handler applied the forwarding-policy callback only to direct-tcpip opens; forwarded-tcpip opens were accepted without authorization or a cap, so a malicious peer can force unbounded per-channel buffer allocation. Clients also failed to match incoming forwarded-tcpip opens against forwards registered via tcpip-forward (RFC 4254 7.2), letting a malicious server open channels for addresses and ports never requested. Affects 1.4.8-1.5.0; fixed by PRs #1059, #1148, #1220; reported by zhangph.
CVE-2026-83742 (Medium, CVSS v4.0 5.3, CWE-191/121/193, CAPEC-100): an unsigned integer underflow in wstrncat() (src/port.c), reached through wolfSSH_RealPath() (src/ssh.c), bounds each appended path component by remaining buffer space rather than buffer size. Once the path passes the halfway mark the length calculation wraps, and an authenticated attacker sending a crafted SFTP path writes one NUL byte past a stack buffer, which may corrupt an adjacent stack value and crash the process. Applications calling wolfSSH_RealPath() with an output buffer smaller than the input face an unbounded stack copy. Non-Windows only; affects 1.4.11-1.5.0; fixed by PR #1084; reported by independent researcher Asif Nadaf.
Version 1.6.0 also hardens the library: strict KEX (Terrapin, CVE-2023-48795 mitigation) enabled by default, minimum DH group-exchange size raised to 2048 bits, RSA authentication keys of at least 2048 bits required, failed authentication attempts limited to six by default, and StrictModes enforced for wolfSSHd. The changelog additionally lists wolfSSHd fixes for an auth bypass under WOLFSSH_ALLOW_USERAUTH_NONE, fail-open Match defects, PermitRootLogin handling of every UID 0 account, and a stack over-read in Windows pseudo-console resize.
None of the sources report active exploitation or a public PoC, and none of the five CVEs were found in the CISA KEV catalog text that could be read (the full catalog could not be read end to end); CISA ADP SSVC lists Exploitation: none for the four records fetched with it. Priority should go to internet-exposed wolfSSH clients with permissive host-key callbacks and to Windows wolfSSHd deployments.
MITRE ATT&CK techniques by tactic:
Lateral Movement
T1021.004 Remote Services: SSH
Initial Access
T1078 Valid Accounts; T1190 Exploit Public-Facing Application
Privilege Escalation
T1134 Access Token Manipulation
Impact
T1499.004 Endpoint Denial of Service: Application or System Exploitation
Credential Access
Remediation
Patches
- wolfSSH v1.6.0-stable (released 2026-10-06)
Immediate actions
- Upgrade wolfSSH to 1.6.0-stable or later, prioritizing internet-exposed clients and Windows wolfSSHd hosts
- Review custom host-key / public-key-check callbacks: do not rely on TOFU, algorithm-name-only or parsed-key fingerprint checks
- On Windows wolfSSHd, restrict which accounts may connect until upgraded (disabling public-key auth alone does not mitigate CVE-2026-83540)
Workarounds
- Build with WOLFSSH_NO_DH_GEX_SHA256 to remove the CVE-2026-84897 message-31 path
- Lower WOLFSSH_DEFAULT_GEXDH_MAX to reduce per-packet cost (does not stop acceptance of the message)
- Avoid --enable-fwd where port forwarding is not required (CVE-2026-81535)
Longer-term hardening
- Pin host keys by fingerprint of the raw wire-format blob and verify the negotiated curve in application callbacks
- Test compatibility with 1.6.0 stricter defaults (strict KEX, DH GEX minimum 2048 bits, RSA >= 2048 bits, six-attempt auth limit, StrictModes)
- Maintain an SBOM of embedded wolfSSH versions in firmware and applications (1.6.0 adds make sbom targets)
Affected and fixed versions
- wolfSSL — wolfSSH (library, ECDSA host-key verification, CVE-2026-16516)
Vulnerable versions: <= 1.5.0
Fixed in: 1.6.0 - wolfSSL — wolfSSHd on Windows (CVE-2026-83540)
Vulnerable versions: 1.4.15 - 1.5.0
Fixed in: 1.6.0 - wolfSSL — wolfSSH server DH group exchange (CVE-2026-84897)
Vulnerable versions: 1.2.0 - 1.5.0
Fixed in: 1.6.0 - wolfSSL — wolfSSH built with --enable-fwd (CVE-2026-81535)
Vulnerable versions: 1.4.8 - 1.5.0
Fixed in: 1.6.0 - wolfSSL — wolfSSH on non-Windows platforms, wolfSSH_RealPath/SFTP (CVE-2026-83742)
Vulnerable versions: 1.4.11 - 1.5.0
Fixed in: 1.6.0
Timeline
Last updated · revalidated 1× · latest source
- CVE-2026-16516 (ECDSA host-key curve not validated) reserved by the wolfSSL CNA; finder zhangph (afldl) tracked it in wolfSSH issue #1012
- CVE-2026-81535 (forwarded-tcpip channel opens bypass forwarding policy) reserved
- CVE-2026-83540 (Windows wolfSSHd logon-token reuse) and CVE-2026-83742 (wolfSSH_RealPath one-byte stack overflow) reserved
- CVE-2026-84897 (unauthenticated DH group-exchange primality-test CPU exhaustion) reserved
- wolfSSL releases wolfSSH v1.6.0-stable fixing all five CVEs, enabling strict KEX by default and raising minimum DH GEX size to 2048 bits
- Aggregators report no public PoC, EPSS 0.15% and no CISA KEV listing for CVE-2026-16516.
- All five CVE records published by the wolfSSL CNA; CISA ADP Vulnrichment SSVC assigns Exploitation: none
- GBHackers reports the wolfSSH 1.6.0 fixes; sources report no in-the-wild exploitation or public PoC
Update history
- 2026-10-10 — wolfSSH 1.6.0 Fixes 5 Security Flaws Including Critical MITM Host Key Verification Bypass (CVE-2026-16516): What changed No severity, exploitability, status or CVSS change. The record already reflects CRITICAL, THEORETICAL and PATCHED, and the newer report agrees. New indicators (3) Indicator values are withheld at this access level.
Sources cited
- wolfSSH v1.6.0-stable release GitHub · Advisory · 2026-10-06
- CVE-2026-16516 CVE record (wolfSSL CNA) MITRE · Advisory · 2026-10-07
- CVE-2026-83540 CVE record (wolfSSL CNA) MITRE · Advisory · 2026-10-07
- CVE-2026-84897 CVE record (wolfSSL CNA) MITRE · Advisory · 2026-10-07
- CVE-2026-81535 CVE record (wolfSSL CNA) MITRE · Advisory · 2026-10-07
- CVE-2026-83742 CVE record (wolfSSL CNA) MITRE · Advisory · 2026-10-07
- wolfSSH ChangeLog (v1.6.0 section) GitHub · Vendor report · 2026-10-06
- wolfSSH issue #1012: ECDSA host key curve substitution GitHub · Code repository · 2026-10-07
- wolfSSH PR #1221: DH group exchange message handling fix GitHub · Code repository · 2026-10-07
- wolfSSH Patches 5 Security Vulnerabilities, Including Critical SSH Authentication Bypass (GBHackers) gbhackers.com · News · 2026-10-08
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated .