Read the docs

russh runs key exchange callback before server host key check

Priority MEDIUM 51CWE-696Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00239 15th percentileScored 2026-11-16
Fix Partial russh (Eugeny): 0.65.1russh (crates.io): 0.65.1Red Hat: 1 without a fix

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

VendorProductAffected versionsFixed inStatusSource
Eugenyrussh0.55.0 to before 0.65.10.65.1Patch availableCNA
—russh (crates.io)0.55.0 to before 0.65.10.65.1Patch availableGHSA-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 →

ProductStatusPlan or fix
Red Hat Hardened ImagesAffectedNo fix yet

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128087
  2. 2026-11-13 Alias added: GHSA-9264-jvgf-6w2f
  3. 2026-11-13 Fix available: crates.io/[email protected] · GHSA-9264-jvgf-6w2f
  4. 2026-11-13 CVSS score added · GHSA-9264-jvgf-6w2f
  5. 2026-11-13 Weakness changed · GHSA-9264-jvgf-6w2f
  6. 2026-11-13 5 new references · GHSA-9264-jvgf-6w2f
  7. 2026-11-13 CISA SSVC decision points changed
  8. 2026-11-14 Affected versions changed · Red Hat
  9. 2026-11-14 CVSS score added · Red Hat

References

  • 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
See all 27 →

Sources