## russh kex_done: Shared-secret callback runs before server host-key verification

- 種別: advisory
- 重大度: low
- 関連技術: rust
- CVE: CVE-2026-128087
- 公開日時: 2026-11-13T19:20:16.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-9264-jvgf-6w2f)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-9264-jvgf-6w2f

影響: rust:russh >= 0.55.0, < 0.65.1 → 0.65.1
A malicious SSH server whose host key is rejected can still cause russh's client::Handler::kex_done() callback to execute with the raw key-exchange shared secret. Applications using the callback for its documented protocol-bridging purpose may derive keys, initialize a secondary data channel, or perform another externally visible action before russh calls check_server_key() and rejects the server. Details During the initial key exchange, russh calls kex_done() immediately after the server prove…