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.
Published: 2026-08-03
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Mon, 03 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Eugeny
Eugeny russh
Vendors & Products Eugeny
Eugeny russh

Mon, 03 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 03 Aug 2026 16:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-03T16:46:32.324Z

Reserved: 2026-07-31T21:49:24.927Z

Link: CVE-2026-68930

cve-icon Vulnrichment

Updated: 2026-08-03T16:46:21.122Z

cve-icon NVD

Status : Received

Published: 2026-08-03T17:16:44.843

Modified: 2026-08-03T17:16:44.843

Link: CVE-2026-68930

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T21:45:04Z

Weaknesses
  • CWE-666

    Operation on Resource in Wrong Phase of Lifetime

  • CWE-696

    Incorrect Behavior Order

  • CWE-863

    Incorrect Authorization