russh try_sign: asynchronous confirmation can sign after agent lock
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Eugenyrussh | — | Not listed |
| rustrussh |
< 0.65.1→ 0.65.1 |
0.65.1 |
| crates.iorussh |
≥ 0.65.0, < 0.65.1→ 0.65.1 |
0.65.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128088 rust-russh No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128088 rust-russh No fixed version in this record
Original description The description as published by the source.
russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. Prior to version 0.65.1, try_sign() captures an Arc before awaiting Agent::confirm() and does not revalidate the shared lock state or key presence after the await. This is a distinct residual defect in the remediation for CVE-2026-116794. A peer, including a remote SSH server using agent forwarding, can begin a confirmation-constrained signature request while the agent is unlocked and receive the signature after another connection locks the agent if the stale confirmation returns true. New post-lock requests are rejected and private key material is not disclosed, but the pending operation bypasses the current lock state. This issue is fixed in version 0.65.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- REDHAT Red Hat
- web github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web github.com