{"id":"CVE-2026-128087","published":"2026-11-13T19:03:26Z","modified":"2026-11-13T21:15:30Z","title":"russh kex_done: shared-secret callback runs before server host-key verification","vendor":"Eugeny","product":"russh","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00239,"percentile":0.15221,"provenance":"source"},"cwes":[{"id":"CWE-696","name":"Incorrect Behavior Order"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Eugeny/russh/pull/808","tags":["x_refsource_MISC"]},{"url":"https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c","tags":["x_refsource_MISC"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.65.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":3.04},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"eugeny","affectedVersions":[{"vendor":"Eugeny","product":"russh","versions":[">= 0.55.0, < 0.65.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T21:15:11.345733Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"russh","vulnerableRanges":[">=0.55.0, <0.65.1"],"patched":["0.65.1"],"from":["GHSA-9264-jvgf-6w2f"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-125719","exploited":false,"provenance":"source"}}