CVE-2026-128087
CVE-2026-128087 · russh kex_done: shared-secret callback runs before server host-key verification
CVSS 3.7 · Low · EPSS 0.2% · Public exploit
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- russhNo fix published
- rust-russh Debian 14No fix published
- rust-russh Ubuntu 26.10No fix published
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rust-russh"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:101322 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
russh
- Versions
- >= 0.55.0, < 0.65.1: Affected
No fix published
rust-russh Debian 14
- Versions
- 0.57.1-1
- 0.57.1-2
- 0.64.1-1
- 0.64.1-2
- 0.65.1-1
- 0.65.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rust-russh Ubuntu 26.10
- Versions
- 0.57.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published