russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmation
CVE-2026-116794Published 28 Oct 2026, 17:06 UTC
Real-world risk
3.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. From 0.50.0-beta.12 until 0.65.0, the agent server's Connection::try_sign path in russh/src/keys/agent/server.rs recognizes SSH_AGENT_CONSTRAIN_CONFIRM but returns a hard-coded successful result instead of calling Agent::confirm. In applications that override Agent::confirm to require user approval or another policy check, a process that can reach the agent socket, including the remote side of a forwarded agent, can use a key added through ssh-add -c without that check and can authenticate or sign data as the user while the key remains loaded. The separate Agent::confirm_request hook still runs for every signing request, so checks implemented there remain effective, and implementations that retain the default always-successful Agent::confirm do not lose an approval check through this regression. This issue is fixed in version 0.65.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| russhNiche | < 0.65 | 0.65 |
What to do
Update to a fixed version: 0.65.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T3: Public proof of concept0.950
- 10 × impact 0.7 × prerequisites 0.5 × threat 0.953.325
- Rounded to one decimal between 0.1 and 103.3
Exploitation and evidence timeline
- 28 Oct 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.3 (cvss fallback)
Weakness
CWE-862
References
- https://github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqvexploit, vendor-advisory
- https://github.com/Eugeny/russh/commit/3e04597dc54e36bfc85c21996f7d8d9d224e9826misc
- https://github.com/Eugeny/russh/commit/62db6e7defd6d244159da962ccccb029e785ce0fmisc
- https://github.com/Eugeny/russh/releases/tag/v0.65.0misc
- CVE-2026-116794 on CVE.org