CVE-2026-128087
Low 3.7No known exploitationFix availablerussh kex_done: shared-secret callback runs before server host-key verification
Vendor advisory: GHSA-9264-jvgf-6w2f
Record last updated
CVSS score
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-696, CWE-863
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Eugeny | russh | >= 0.55.0, < 0.65.1 | Not documented | CVE Program |
| rust | russh | from 0.55.0 before 0.65.1 | 0.65.1 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c (opens in a new tab)x_refsource_misc
- https://github.com/Eugeny/russh/pull/808 (opens in a new tab)x_refsource_misc
- https://github.com/Eugeny/russh/releases/tag/v0.65.1 (opens in a new tab)x_refsource_misc
- https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-9264-jvgf-6w2f (opens in a new tab)github-advisory