CVE-2026-128087 Details
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.
A vulnerability exists in the russh SSH client and server library, specifically in versions 0.55.0 prior to 0.65.1. The issue arises during the initial key exchange process, where the library's `client::Handler::kex_done()` callback is invoked with the raw shared secret before the server's host key is verified. This allows a malicious SSH server to initiate application-defined actions, such as secondary-channel initialization or early data handling, using the shared secret, even if the server's identity is later rejected. This vulnerability primarily affects applications that override the default `kex_done()` behavior to manage secondary encrypted transports, potentially leading to unauthorized data exposure or actions based on an untrusted SSH server.
Users can upgrade to russh version 0.65.1, which addresses this vulnerability by ensuring that the `kex_done()` callback is only called after the server's host key has been verified.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c | [email protected] | Source CodeVendor |
| https://github.com/Eugeny/russh/pull/808 | [email protected] | Issue TrackingVendor |
| https://github.com/Eugeny/russh/releases/tag/v0.65.1 | [email protected] | Release NotesVendor |
| https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-696 | Incorrect Behavior Order | [email protected] |
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Eugeny russh | >= 0.55.0, < 0.65.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion