VulnWatch by ve1ve2
high 8.3 EPSS 0.19%

CVE-2026-128088: 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<PrivateKe…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-128088 ↗

CWE-367CWE-863

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. References: https://github.com/Eugeny/russh/commit/43a46d67a80a7355fcd2fb25e7e00d79aec8184c https://github.com/Eugeny/russh/pull/808 https://github.com/Eugeny/russh/releases/tag/v0.65.1 https://github.com/Eugeny/russh/security/advisories/GHSA-736f-c93q-9fwx https://github.com/Eugeny/russh/security/advisories/GHSA-736f-c93q-9fwx

Linked vulnerabilities (3)

CVE-2026-128088 low 2.2 EPSS 0.16% (p5) NVDCVE.orgGHSA
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N

russh: russh: SSH agent lock bypass via unverified state during confirmation

CWE: CWE-367, CWE-863Aliases: CVE-2026-116794, GHSA-736f-c93q-9fwxNVD: Deferred
CVE-2026-116794 high 8.3 EPSS 0.19% (p9) NVDCVE.org
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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...

CWE: CWE-862NVD: Deferred

Also reported by (1)