Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. russh
  4. ›
  5. CVE-2026-116794

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

October 30, 2026

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 implementation. A user who added a key with -c is therefore never asked to confirm.

References

  • github.com/Eugeny/russh/commit/3e04597dc54e36bfc85c21996f7d8d9d224e9826
  • github.com/Eugeny/russh/commit/62db6e7defd6d244159da962ccccb029e785ce0f
  • github.com/Eugeny/russh/releases/tag/v0.65.0
  • github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqv
  • github.com/advisories/GHSA-vp5q-ff62-jwqv
  • nvd.nist.gov/vuln/detail/CVE-2026-116794

Code Behaviors & Features

Detect and mitigate CVE-2026-116794 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.65.0

Fixed versions

  • 0.65.0

Solution

Upgrade to version 0.65.0 or above.

Impact 8.4 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

cargo/russh/CVE-2026-116794.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 31 Oct 2026 00:15:14 +0000.