crates.io
CVE-2026-128088
russh try_sign: asynchronous confirmation can sign after agent lock
- Severity
- Low 2.2
- Published
- 13 Nov 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.65.1
- Exploit chance
- 0.2% in the next 30 daysHigher than 5% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Needs local access · Only under certain conditions · Needs a user account · Needs someone to click or open something
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N- Also known as
- GHSA-736f-c93q-9fwx
- Sources
- OSV.dev and GitHub
Description
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.
The agent's lock and key stores are shared by all connections. respond() reads the lock state once, then dispatches a sign request:
In try_sign(), russh clones the private key from the shared store and drops the store lock before awaiting the asynchronous confirmation callback:
While confirm() is pending, a second agent connection can successfully lock the shared agent. When confirmation later returns true, the original connection signs with its captured Arc.
The affected code is in russh/src/keys/agent/server.rs and try_sign().
Affected software
| Software | Affected versions |
|---|---|
russhcrates.io · osv:crates.io:russh |
|
About russh
- Downloads in the last 90 days (crates.io)
- 5,135,797crates.io, 23 Nov 2026
- Total downloads (crates.io)
- 11,304,063crates.io, 23 Nov 2026
Vulnerabilities in russh
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-128087russh kex_done: Shared-secret callback runs before server host-key verificationLow 3.7 13 Nov 2026
- CVE-2026-116794russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmationHigh 30 Oct 2026
- CVE-2026-116774russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)Medium 4.3 30 Oct 2026
- CVE-2026-116696russh's SSH agent server is susceptible to unbound allocations via repeated SSH_AGENT_CONSTRAIN_CONFIRM messagesLow 3.3 30 Oct 2026
- CVE-2026-116773russh's SSH client is susceptible to unbounded allocations via EXT_INFO packetsMedium 4.3 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-128088
- GitHub Advisory Database https://github.com/advisories/GHSA-736f-c93q-9fwx