# CVE-2026-128087: russh kex\_done: shared-secret callback runs before server host-key verification

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-13 · Modified: 2026-11-13
- Aliases: GHSA-9264-jvgf-6w2f, DEBIAN-CVE-2026-128087, CGA-28v8-x5cq-qhrj, UBUNTU-CVE-2026-128087
- Record: https://cvemate.com/vulnerability/CVE-2026-128087 · JSON: https://cvemate.com/vulnerability/CVE-2026-128087/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.239%, percentile 15.958%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard yazi (Chainguard): All versions (No fix recorded) \| \< 26.9.1-r8
- wolfi yazi (Wolfi): All versions (No fix recorded) \| \< 26.9.1-r8
- Crates.Io russh (Crates.Io): ≥ 0.55.0, \< 0.65.1
- debian rust-russh (Debian): All versions (No fix recorded)
- ubuntu rust-russh (Ubuntu): All versions (No fix recorded)
- eugeny russh: ≥ 0.55.0, \< 0.65.1

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f>
- <https://github.com/Eugeny/russh/pull/808>
- <https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c>
- <https://github.com/Eugeny/russh/releases/tag/v0.65.1>
- <https://github.com/Eugeny/russh>
- <https://security-tracker.debian.org/tracker/CVE-2026-128087>
- <https://ubuntu.com/security/CVE-2026-128087>
- <https://www.cve.org/CVERecord?id=CVE-2026-128087>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128087.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128087>

---

Data as of 2026-12-05T03:16:45.845Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
