CVE-2026-128087 russh kex_done: shared-secret callback runs before server host-key verification
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
5 packages: 1 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-russh(Debian 14) | = 0.57.1-1; = 0.57.1-2; = 0.64.1-1; = 0.64.1-2 +3 more | No fix listed | No fix yet |
| redhat/openshell(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| ubuntu/rust-russh(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| crates.io russh(crates.io) | >= 0.55.0, < 0.65.1 | 0.65.1 | Fixed |
| Eugeny russh | = >= 0.55.0, < 0.65.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io russh(crates.io) | >= 0.55.0, < 0.65.1 | 0.65.1 |
| Eugeny russh | = >= 0.55.0, < 0.65.1 | No fix listed |
| debian/rust-russh(Debian:14) | All versions | No fix listed |
| debian/rust-russh(Debian:14) | = 0.57.1-1 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.57.1-2 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.64.1-1 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.64.1-2 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.65.1-1 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.65.1-2 | No fix listed |
| redhat/openshell(Red Hat:hummingbird:1) | All versions | No fix listed |
| ubuntu/rust-russh(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f exploit vendor-advisory
- https://github.com/Eugeny/russh/pull/808 patch
- https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c patch
- https://github.com/Eugeny/russh/releases/tag/v0.65.1
- github.com
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2573415 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-128087 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-125719 third-party-advisory