Improper access control in libssh - CVE-2026-59851
Published: July 27, 2026
libssh
Detailed vulnerability description
The vulnerability allows a remote user to impersonate any local user on the server.
The vulnerability exists due to improper access control in the libssh server gssapi-keyex authentication handling when processing gssapi-keyex authentication requests. A remote user can authenticate with valid Kerberos credentials and request an arbitrary username to impersonate any local user on the server.
Only SSH servers built on libssh with GSSAPIKeyExchange enabled are vulnerable.