CVE-2026-128087
russh is a Rust SSH client and server library that includes an SSH …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c
- github.com/Eugeny/russh/pull/808
- github.com/Eugeny/russh/releases/tag/v0.65.1
- github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f
- github.com/advisories/GHSA-9264-jvgf-6w2f
- nvd.nist.gov/vuln/detail/CVE-2026-128087
- cve.org/CVERecord?id=CVE-2026-128087
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.