# RUSTSEC-2026-0492: Client Handler callbacks run for channels the client never opened

- Database: RustSec
- Published: 2026-09-30
- Modified: 2026-11-12

## Tracked as

- [CVE-2026-102823](https://cve.now/CVE-2026-102823.md): russh: Client-side channel-scoped Handler callbacks fire for channel IDs the client never opened

## Also published as

- [GHSA-47HW-GVQ5-R2GM](https://cve.now/GHSA-47HW-GVQ5-R2GM.md) (GitHub)

## Affected versions

- russh (crates.io): fixed in 0.63.1

## Description

On the client side, russh passed channel messages from the server (data, extended data, EOF, close, success, failure, open failure and the exit-status, exit-signal and xon-xoff requests) to the application's `client::Handler` callbacks without checking that the channel number belonged to a channel the client had opened and the server had confirmed. The server side already performed this check.

A malicious or compromised SSH server can therefore send these messages for any channel number, including the next number the client will allocate (they are assigned in order) or one it has already closed. An application that tracks per-channel state can be made to record a false exit status, see a channel close before its real output arrives, or panic when it looks up a channel it does not know.

From 0.63.1 the client ignores channel messages for channels that are not established and confirmed, and handles an open failure only for a channel it is actually opening.

## References

- https://crates.io/crates/russh
- https://rustsec.org/advisories/RUSTSEC-2026-0492.html
- https://github.com/Eugeny/russh/commit/3430fd26ecafc0dc3705210f5f39a9119fa22774

Page: https://cve.now/RUSTSEC-2026-0492

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
