llamaCVEVulnerability Intelligence
/
russh

CVE-2026-116794

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

Specific setups onlyParche disponiblemissing authorization
Descargar PNG JSON
CVSS 4.0
8.3
Alta
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión0.65
Exposición21 dDesde la divulgación, 28 oct 2026, 12:06 p. m.
Detección12 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
28 oct 26
30 oct 26
3 nov 26
16 nov 26
19 nov 26
28 oct 26
3 nov 26
8 nov 26
14 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-116794 divulgada · CVSS 8.3 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

The russh Rust SSH library's agent server (in versions from 0.50.0-beta.12 through 0.65.0) fails to call the application's confirmation hook for keys added with the confirm constraint, so applications that rely on that hook to approve signing can have keys used without approval, including by a process or remote host reaching the agent socket. Applications that keep the default confirmation behavior or implement checks in the separate confirm_request hook are not affected by this flaw.

Affects russh agent servers where a key was added with the confirm constraint (ssh-add -c) and remains loaded. Fixed in russh 0.65.

¿Qué significa?The russh agent server never calls Agent::confirm, so keys added with the confirm constraint (ssh-add -c) sign requests without the confirmation the constraint is meant to require.
¿Quién está afectado?The issue involves russh versions before 0.65 and a setup where a key was added to the agent with the confirm constraint (ssh-add -c) and remains loaded. To check the russh version, look at the russh entry in the project's Cargo.lock file.
¿Qué hacer?Upgrade russh to version 0.65 or later, which is the listed fixed version.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A key was added to the agent with the confirm constraint (ssh-add -c) and remains loaded.“keys added with the confirm constraint (`ssh-add -c`) sign without confirmation”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:H
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
russh< 0.65
russh≥ 0.50.0-beta.12 < 0.65.0
0.50.0-beta.12
0.65
0.65.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
russh
Corregida 0.65 — —
Versiones corregidas0.65
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/Eugeny/russh/security/advisories/GHSA-vp5q-ff62-jwqv
Otrahttps://github.com/Eugeny/russh/commit/3e04597dc54e36bfc85c21996f7d8d9d224e9826
Otrahttps://github.com/Eugeny/russh/commit/62db6e7defd6d244159da962ccccb029e785ce0f
Otrahttps://github.com/Eugeny/russh/releases/tag/v0.65.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.