# CVE-2026-116794 - russh: Agent server never calls \`Agent::confirm\`, so keys added with the confirm constraint (\`ssh-add -c\`) sign without confirmation

DevFeed: [CVE-2026-116794 - russh: Agent server never calls \`Agent::confirm\`, so keys added with the confirm constraint (\`ssh-add -c\`) sign without confirmation](<https://devfeed.tech/articles/cve-2026-116794-russh-agent-server-never-calls-agent-confirm-so-keys-added-with-the-confirm-constraint-ssh-add-c-sign-without-confirmation-105362.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-116794>)

Author: CVEFEED.io; github.com

Published: 2026-10-28T18:17:14Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [cve remediation](<https://devfeed.tech/topics/cve-remediation.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [agent](<https://devfeed.tech/tags/agent.md>), [applications](<https://devfeed.tech/tags/applications.md>), [beta](<https://devfeed.tech/tags/beta.md>), [constraint](<https://devfeed.tech/tags/constraint.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-116794](<https://devfeed.tech/tags/cve-2026-116794.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [issue](<https://devfeed.tech/tags/issue.md>), [keys](<https://devfeed.tech/tags/keys.md>), [library](<https://devfeed.tech/tags/library.md>), [override](<https://devfeed.tech/tags/override.md>), [policy](<https://devfeed.tech/tags/policy.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [regression](<https://devfeed.tech/tags/regression.md>), [remote](<https://devfeed.tech/tags/remote.md>), [server](<https://devfeed.tech/tags/server.md>), [sign](<https://devfeed.tech/tags/sign.md>), [ssh](<https://devfeed.tech/tags/ssh.md>)

## AI overview

From russh 0.50.0-beta.12 up to, but not including, 0.65.0, the agent server recognizes SSH_AGENT_CONSTRAIN_CONFIRM but does not call Agent::confirm when signing. In applications that override this hook for approval or policy checks, a process with access to the agent socket--including a remote party using a forwarded agent--can sign or authenticate with a loaded ssh-add -c key without that check. Agent::confirm_request still runs for each signing request, so checks there remain effective; implementations using the default always-successful Agent::confirm do not lose an approval check. The issue is fixed in 0.65.0.

## Source excerpt

CVE ID :CVE-2026-116794 Published : Oct. 28, 2026, 6:17 p.m. | 57 minutes ago Description :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. Severity: 8.3 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...