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

Status: published. Published: 2026-10-28. Updated: 2026-11-03.

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.

## Remediation

- fix: russh (crates.io): OSV reports a fixed version 0.65. Check the advisory for supported release branches. (source: OSV GHSA-vp5q-ff62-jwqv) — https://github.com/advisories/GHSA-vp5q-ff62-jwqv

## Affected products and versions

- Eugeny / russh: < 0.65 (affected). Source: CNA: GitHub_M
-  / russh (russh): Ecosystem version events: introduced 0; fixed 0.65. Source: OSV GHSA-vp5q-ff62-jwqv

## Severity and prioritization

- CVSS 4.0: 8.3 (high); 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.16% as of 2026-11-02; percentile 4.73%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-862

## Exploit evidence

- exploit: https://github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqv (ADP: CISA-ADP)

## References

- https://github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqv (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/Eugeny/russh/commit/3e04597dc54e36bfc85c21996f7d8d9d224e9826 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Eugeny/russh/commit/62db6e7defd6d244159da962ccccb029e785ce0f (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Eugeny/russh/releases/tag/v0.65.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqv (ADP: CISA-ADP; exploit)

- https://github.com/advisories/GHSA-vp5q-ff62-jwqv (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-vp5q-ff62-jwqv (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-116794; retrieved 2026-11-03; source updated 2026-11-03

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-vp5q-ff62-jwqv; retrieved 2026-11-03; source updated 2026-10-30

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-116794; retrieved 2026-11-03; source updated Not reported

Revision: 20fe7958c2be0671ed2512ddaef57864a98ba67dd3d0d708638733aae0313547

Canonical: https://y2.dev/cve/CVE-2026-116794

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.