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

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-28T17:06:57.542Z
- Modified: 2026-11-12T08:10:57.732Z
- Also known as: GHSA-vp5q-ff62-jwqv, RUSTSEC-2026-0495
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Eugeny russh: < 0.65
- russh (crates.io): before 0.65; from 0.50.0-beta.12 before 0.65.0

## Every score

- GitHub_M: 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqv> (exploit, web)
- <https://github.com/Eugeny/russh/commit/3e04597dc54e36bfc85c21996f7d8d9d224e9826> (web)
- <https://github.com/Eugeny/russh/commit/62db6e7defd6d244159da962ccccb029e785ce0f> (web)
- <https://github.com/Eugeny/russh/releases/tag/v0.65.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116794> (advisory)
- <https://github.com/Eugeny/russh> (package)
- <https://crates.io/crates/russh> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0495.html> (advisory)

## Sources

- CVE List: [CVE-2026-116794](https://www.cve.org/CVERecord?id=CVE-2026-116794), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-vp5q-ff62-jwqv](https://github.com/advisories/GHSA-vp5q-ff62-jwqv), CC-BY-4.0, modified 2026-11-12
- RustSec Advisory Database: [RUSTSEC-2026-0495](https://rustsec.org/advisories/RUSTSEC-2026-0495.html), CC0-1.0, modified 2026-11-12
- NVD: [CVE-2026-116794](https://nvd.nist.gov/vuln/detail/CVE-2026-116794), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-116794 · Whole record: https://cve.day/CVE-2026-116794.json · Rebuilt by cve.day 2026-11-25T22:59:47.657Z
