# CVE-2026-83540: wolfSSHd on Windows race condition leading to logon token reused across connections

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.66% (percentile 46, 2026-11-26)
- **CWE:** CWE-287, CWE-613
- **Published:** 2026-10-07T02:40:35.137Z
- **Modified:** 2026-10-13T17:33:17.707Z

## Who should check

- Anyone running wolfSSL wolfSSH \>= 1.4.15, \<= 1.5.0

## Description

When password or public key authentication is used with the Windows port of wolfSSHd, the Windows logon token acquired for one authenticated connection is not released before a token is acquired for a subsequent connection, resulting in user login poisoning between connections. A less privileged user with a valid account on the server can exploit this to force a login as a more privileged user. The vulnerability was introduced with the initial Windows port of wolfSSHd in wolfSSH version 1.4.15 and affects all versions through 1.5.0. Non-Windows builds of wolfSSHd are not affected.

## Affected and fixed versions

- wolfSSL wolfSSH: \>= 1.4.15, \<= 1.5.0 (cvelist)

## Mitigation

- Vendor workaround: Restrict which accounts may connect to the affected wolfSSHd instance on Windows hosts until the server is upgraded. Disabling public key authentication alone does not help, because password authentication is affected as well.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-83540. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-83540.md
Affected: wolfSSL wolfSSH >= 1.4.15, <= 1.5.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for wolfSSL wolfSSH: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-83540 being exploited?

There is no confirmed exploitation: CVE-2026-83540 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-83540?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-83540?

wolfSSL wolfSSH \>= 1.4.15, \<= 1.5.0.

### Is there a fix for CVE-2026-83540?

No fixed version is listed in the sources yet. Vendor workaround: Restrict which accounts may connect to the affected wolfSSHd instance on Windows hosts until the server is upgraded. Disabling public key authentication alone does not help, because password authentication is affected as well.

### How do I check if I'm affected by CVE-2026-83540?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.wolfssl.com/docs/security-vulnerabilities/>
- patch: <https://github.com/wolfSSL/wolfssh/commit/b6bd975ccfac6aadf29b98e35e09114bef3840a9>
- patch: <https://github.com/wolfSSL/wolfssh/commit/9777bc5ce810d6c418a1473e9e8c40cdb0026e5a>
- other: <https://github.com/wolfSSL/wolfssh>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-83540>

HTML: <https://flawdb.com/CVE-2026-83540> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-83540>
