CVE-2026-128087
russh kex_done: Shared-secret callback runs before server host-key verification
Also known as GHSA-9264-jvgf-6w2f
Mitigation
- Upgrade russh to 0.65.1 or later.
Who should check
- Projects that depend on crates.io package russh (>= 0.55.0, < 0.65.1)
- Anyone running Eugeny russh >= 0.55.0, < 0.65.1
Vulnerability facts
- Affected
- russh >= 0.55.0, < 0.65.1
- Fixed in
- 0.65.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-28)
- CWE
- CWE-696, CWE-863
- Modified
Description
russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. From version 0.55.0 until version 0.65.1, the initial key exchange invokes client::Handler::kex_done() with the raw shared secret before check_server_key() accepts the server host key or certificate. A malicious SSH server can therefore trigger application-defined secondary-channel initialization or early data handling even when the server identity is subsequently rejected. Ordinary clients that keep the callback's no-op default or independently defer callback-derived actions until trust is confirmed are not affected. This issue is fixed in version 0.65.1.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-128087. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-128087.md Affected: russh >= 0.55.0, < 0.65.1 Fixed in: 0.65.1 Steps: 1. Search this machine and project for russh (crates.io), Eugeny russh: 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.
Technologies
References
Patches
FAQ
Is CVE-2026-128087 being exploited?
There is no confirmed exploitation: CVE-2026-128087 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-128087?
Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-128087?
russh >= 0.55.0, < 0.65.1.
Is there a fix for CVE-2026-128087?
Yes. Fixed in 0.65.1. Upgrade russh to 0.65.1 or later.
How do I check if I'm affected by CVE-2026-128087?
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.
More russh vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 2.2 | CVE-2026-128088 russh try_sign: asynchronous confirmation can sign after agent lock | Rust crates | EPSS 0% |