NetSight
low3.7

CVE-2026-128087

russh is a Rust SSH client and server library that includes an SSH agent protocol implementation.

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read.

Affected packages

EcosystemPackageAffectedFixed in
rustrussh>= 0.55.0, < 0.65.10.65.1

Affected products · Eugeny

ProductAffected versions
Russh
from 0.55.0, before 0.65.1

Weakness classification

References