CVE-2026-128087
published low CVSS 3.1 · 3.7russh kex_done: shared-secret callback runs before server host-key verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Eugeny | — | russh>= 0.55.0, < 0.65.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eugeny | russh | >= 0.55.0, < 0.65.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-696 CWE-696: Incorrect Behavior Order
- CWE-863 CWE-863: Incorrect Authorization
References
4Provider assertions
2GitHub_M · cna
russh kex_done: shared-secret callback runs before server host-key verification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b313a5cbc49ebae1daf68c7a0622cce552cd3eb5c39417bc1bad33f9fe6b543
- Ingested
- 13 Nov 2026, 21:21:57 UTC
- Source record
- Official CVE record