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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T19:03:26.702Z
- Modified: 2026-11-13T22:17:22.950Z
- Also known as: GHSA-9264-jvgf-6w2f
- Weaknesses: CWE-696, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Eugeny russh: >= 0.55.0, < 0.65.1
- russh (crates.io): from 0.55.0 before 0.65.1

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f> (exploit, web)
- <https://github.com/Eugeny/russh/pull/808> (web)
- <https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c> (web)
- <https://github.com/Eugeny/russh/releases/tag/v0.65.1> (web)
- <https://github.com/Eugeny/russh> (package)

## Sources

- CVE List: [CVE-2026-128087](https://www.cve.org/CVERecord?id=CVE-2026-128087), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-9264-jvgf-6w2f](https://github.com/advisories/GHSA-9264-jvgf-6w2f), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-128087](https://nvd.nist.gov/vuln/detail/CVE-2026-128087), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-128087 · Whole record: https://cve.day/CVE-2026-128087.json · Rebuilt by cve.day 2026-11-25T22:59:50.774Z
