russh runs key exchange callback before server host key check
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863.
Summary
russh from 0.55.0 before 0.65.1 is affected. Its initial key exchange calls the client kex_done() callback with the raw shared secret before check_server_key() accepts the server host key, which is an ordering flaw (CWE-696). A malicious SSH server can trigger application-defined secondary-channel initialization or early data handling even when the server identity is later rejected. Clients that keep the no-op default or defer such actions until trust is confirmed are not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Eugeny | russh | 0.55.0 to before 0.65.1 | 0.65.1 | Patch available | CNA |
| — | russh (crates.io) | 0.55.0 to before 0.65.1 | 0.65.1 | Patch available | GHSA-9264-jvgf-6w2f |
- russh VendorEugeny Affected 0.55.0 to before 0.65.1 Fixed in 0.65.1 Patch available CNA
- russh (crates.io) Vendor— Affected 0.55.0 to before 0.65.1 Fixed in 0.65.1 Patch available GHSA-9264-jvgf-6w2f
Remediation
Upgrade russh to version 0.65.1, which fixes this issue. Red Hat lists Red Hat Hardened Images as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
- Fix · CNA russh (Eugeny) Fixed in 0.65.1
- Fix · GHSA-9264-jvgf-6w2f russh (crates.io) Fixed in 0.65.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Affected | No fix yet |
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128087
- 2026-11-13 Alias added: GHSA-9264-jvgf-6w2f
- 2026-11-13 Fix available: crates.io/[email protected] · GHSA-9264-jvgf-6w2f
- 2026-11-13 CVSS score added · GHSA-9264-jvgf-6w2f
- 2026-11-13 Weakness changed · GHSA-9264-jvgf-6w2f
- 2026-11-13 5 new references · GHSA-9264-jvgf-6w2f
- 2026-11-13 CISA SSVC decision points changed
- 2026-11-14 Affected versions changed · Red Hat
- 2026-11-14 CVSS score added · Red Hat
References
More Eugeny vulnerabilities
- TI-2026-65512 russh: Client-side channel-scoped Handler callbacks fire for channel IDs the client never opened CVSS 3.1HIGH 7.5
- TI-2026-35550 Russh: SSH message fields were decoded through allocation-first parsers before field-specific bounds CVSS 3.1HIGH 7.5
- TI-2026-34331 Russh: Post-decompression SSH packet size was not bounded, allowing remote oversized compressed packets CVSS 3.1HIGH 7.5
- TI-2026-34308 Resource allocation without limits in Eugeny russh CVSS 3.1HIGH 7.5
- TI-2025-16084 Tabby has a TCC Bypass via Misconfigured Node Fuses CVSS 4.0HIGH 8.6
- TI-2024-36991 Tabby has a TCC Bypass via Unnecessary Permissive Entitlements in Tabby CVSS 4.0HIGH 8.6
Sources
- CVE-2026-128087 · CVE Program
- CVE-2026-128087 · NVD
- FIRST EPSS
- GHSA-9264-jvgf-6w2f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-128087 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences