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

- 種別: advisory
- 重大度: high
- 関連技術: rust
- CVE: CVE-2026-116794
- 公開日時: 2026-10-30T22:59:08.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-vp5q-ff62-jwqv)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-vp5q-ff62-jwqv

影響: rust:russh < 0.65 → 0.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…