CVE-2026-128087

GHSA-9264-jvgf-6w2f · published 13 Nov 2026 · updated 13 Nov 2026

russh kex_done: shared-secret callback runs before server host-key verification

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in russh 0.65.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Eugeny>=0.55.0 <0.65.1
cargo: russh>=0.55.0 <0.65.10.65.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in russh (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-128087 severity on Zeptric[![CVE-2026-128087](https://zeptric.io/badge/cve/CVE-2026-128087.svg)](https://zeptric.io/cve/CVE-2026-128087)