CVE-2026-128087
russh: russh: Information disclosure via premature callback execution prior to host verification
Overview
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.
Source: OX vulnerability database
Severity
3.7 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-696, CWE-863
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | russh | >=0.55.0, <0.65.1 | 0.65.1 |
Open a package to see all its vulnerabilities.
Operating systems · 1 fix
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 14 | rust-russh | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-128087
- github.com https://github.com/Eugeny/russh
- github.com https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c
- github.com https://github.com/Eugeny/russh/pull/808
- github.com https://github.com/Eugeny/russh/releases/tag/v0.65.1
- github.com https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-128087
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-128087
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.