CVE-2026-68930

Russh: Channel-scoped server callbacks can be reached without an open channel

Published Aug 3, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Russh is a Rust SSH client & server library. Prior to 0.62.5, russh dispatches channel-scoped Handler callbacks for recipient channel IDs that were never opened or confirmed in russh/src/server/encrypted.rs, server_read_authenticated, and the exec_request callback. Version 0.62.5 fixes the issue.

Analysis

AI-generated

Technical impact

Russh, a Rust SSH client and server library, contains a logic flaw that causes the server to dispatch channel‑scoped handler callbacks for channel IDs that were never opened or confirmed. This behavior could allow an attacker to trigger code that was intended only for authenticated channel traffic, potentially leading to unintended code execution or service disruption. The weakness is aligned with CWE‑666 (Data Flow or Logic Error), CWE‑696 (Incorrect Permission Checking), and CWE‑863 (Array Index Out of Bounds).

Affected Systems

All releases of the russh library prior to v0.62.5 are affected. Applications that embed russh in an SSH server or client component are at risk, regardless of the host environment. The issue was fixed in release v0.62.5.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, and the EPSS score is below 1%, suggesting a low probability of exploitation at the current time. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, requiring an established SSH session in which the attacker can send a non‑existent channel ID. Upon receiving such a request, the server will blindly invoke the associated callback, which could lead to unintended code execution or a denial of service. While no widespread exploitation evidence exists, the moderate CVSS and remote vector warrant timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to russh v0.62.5 or later to apply the fix.
  • If an upgrade is delayed, modify the application’s channel handling logic to validate that a channel ID has been opened before invoking any callbacks, thereby preventing unauthorized execution.
  • Enable detailed SSH server logging and monitor for unexpected channel activity to detect attempts to exploit the vulnerability.

Generated by OpenCVE AI on August 4, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m65r-rprj-r5rg Russh: Channel-scoped server callbacks can be reached without an open channel
History
Type Values Removed Values Added
First Time appeared Eugeny
Eugeny russh
Vendors & Products Eugeny
Eugeny russh
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Russh is a Rust SSH client & server library. Prior to 0.62.5, russh dispatches channel-scoped Handler callbacks for recipient channel IDs that were never opened or confirmed in russh/src/server/encrypted.rs, server_read_authenticated, and the exec_request callback. Version 0.62.5 fixes the issue.
Title Russh: Channel-scoped server callbacks can be reached without an open channel
Weaknesses CWE-666
CWE-696
CWE-863
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-666

    Operation on Resource in Wrong Phase of Lifetime

  • CWE-696

    Incorrect Behavior Order

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2026, 4:46 PM
Reserved
Jul 31, 2026, 9:49 PM
Status
Deferred
Published
Aug 3, 2026, 5:16 PM
Modified
Oct 23, 2026, 9:10 PM