{"schemaVersion":4,"id":"CVE-2026-128087","aliases":["GHSA-9264-jvgf-6w2f","DEBIAN-CVE-2026-128087","CGA-28v8-x5cq-qhrj","UBUNTU-CVE-2026-128087"],"status":"published","duplicateOf":null,"title":"russh kex_done: shared-secret callback runs before server host-key verification","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.","dates":{"published":"2026-11-13T19:03:26.702Z","modified":"2026-11-13T21:15:30.367Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true}]},"epss":{"probability":0.00239,"percentile":0.15958,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-14T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00239,"percentile":0.15958}],"last30":[{"date":"2026-11-14T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00239,"percentile":0.15958}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-696","name":"Incorrect Behavior Order","description":"The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/696.html"},{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"chainguard","product":"yazi","name":"yazi","label":"yazi","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/yazi","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 26.9.1-r8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.9.1-r8","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 26.9.1-r8","eol":null,"hubHref":null},{"vendor":"wolfi","product":"yazi","name":"yazi","label":"yazi","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/yazi","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 26.9.1-r8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.9.1-r8","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 26.9.1-r8","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"russh","name":"russh","label":"russh","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/russh","purlType":"cargo","versions":[{"text":"≥ 0.55.0, < 0.65.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.55.0","startInclusive":true,"end":"0.65.1","endInclusive":false}}],"versionsText":"≥ 0.55.0, < 0.65.1","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-russh","name":"rust-russh","label":"rust-russh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-russh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-russh","name":"rust-russh","label":"rust-russh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-russh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"eugeny","product":"russh","name":"russh","label":"russh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.55.0, < 0.65.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.55.0","startInclusive":true,"end":"0.65.1","endInclusive":false}}],"versionsText":"≥ 0.55.0, < 0.65.1","eol":null,"hubHref":"/vendor/eugeny/russh"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f","label":"github.com/Eugeny/russh/security/advisories/GHSA-9264-jvgf-6w2f","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Advisory"]},{"url":"https://github.com/Eugeny/russh/pull/808","label":"github.com/Eugeny/russh/pull/808","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","FIX"]},{"url":"https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c","label":"github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","FIX"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.65.1","label":"github.com/Eugeny/russh/releases/tag/v0.65.1","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT"]},{"url":"https://github.com/Eugeny/russh","label":"github.com/Eugeny/russh","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-128087","label":"security-tracker.debian.org/tracker/CVE-2026-128087","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-128087","label":"ubuntu.com/security/CVE-2026-128087","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-128087","label":"www.cve.org/CVERecord?id=CVE-2026-128087","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128087.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128087.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128087","label":"nvd.nist.gov/vuln/detail/CVE-2026-128087","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:101322"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-13T19:03:26.702Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-13T21:15:30.367Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,37],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00239,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_crates.io","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-11-13T21:15:30.367Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-13T21:15:11.345Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00239,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:16:45.845Z","stale":false,"partial":false}}