russh try_sign: asynchronous confirmation can sign after agent lock
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| rust:russh | = 0.65.0 | 0.65.1 |
In russh 0.65.0, a sign request for a confirmation-constrained key can retain and use the private key after another connection locks the agent. try_sign() snapshots an Arc before awaiting Agent::confirm() and does not revalidate the shared lock state after the await. An agent-forwarding peer can therefore obtain a signature while the agent is locked and every new request is being rejected. Details The agent's lock and key stores are shared by all connections. respond() reads the lock state once…
Read on GitHub Advisory Database
On 11/14/2026, 04:10 AM, GitHub Advisory Database published "russh try_sign: asynchronous confirmation can sign after agent lock" (type: Advisory). Severity is "Low" (low). Related technologies: Rust. CVE: CVE-2026-128088.