← Vulnerabilities

HighAdvisoryRust

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

Affected

PackageAffected versionsFixed in
rust:russh< 0.650.65

The agent server in russh::keys::agent::server never calls Agent::confirm before signing with a key that was added with the confirm constraint. That constraint is SSH_AGENT_CONSTRAIN_CONFIRM (RFC 9987 §5.2.7.2), which is what ssh-add -c sends. The call was replaced by a hard-coded true in 3e04597 ("Native async traits encore", #455), first released in 0.50.0-beta.12. Every release since, up to and including 0.64.1, signs requests for confirm-constrained keys without asking the Agent implementat…

Read on GitHub Advisory Database

On 10/31/2026, 07:59 AM, GitHub Advisory Database published "russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmation" (type: Advisory). Severity is "High" (high). Related technologies: Rust. CVE: CVE-2026-116794.