CVE-2026-59851: Libssh: libssh: authentication bypass via missing gssapi principal check

Published Jul 8, 2026
·
Updated

A flaw was found in libssh server-side GSSAPIKeyExchange authorization. In sshpacketuserauthrequest() in src/messages.c, the gssapi-keyex login path granted success after Kerberos authentication without dispatching the callback that verifies whether the authenticated principal is authorized for the requested local user. On servers with GSSAPIKeyExchange enabled, an authenticated client can therefore log in as an arbitrary local user if the missing principal-to-user authorization check is relied upon for access control.

Other sources

A flaw was found in libssh. On servers with GSSAPIKeyExchange enabled, the gssapi-keyex path does not verify whether the authenticated Kerberos principal is authorized for the requested local user, allowing authenticated clients to log in as arbitrary users.

MITRE

Affected Software

4 affected components
libssh libssh
libssh libssh
redhat Hardened Images
redhat Enterprise Linux=10.0

Event History

Jul 8, 2026
Data Sourced
via Red Hat·06:22 PM
DescriptionSeverityAffected Software
Jul 21, 2026
CVE Published
via MITRE·02:20 PM
Data Sourced
via MITRE·02:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59851?

CVE-2026-59851 has a high severity rating of 8.8.

2

What does CVE-2026-59851 affect?

CVE-2026-59851 affects the libssh library and the libssh server-side GSSAPIKeyExchange authorization.

3

How do I fix CVE-2026-59851?

To fix CVE-2026-59851, update to the latest version of libssh that addresses the authentication bypass issue.

4

What is the risk associated with CVE-2026-59851?

The risk associated with CVE-2026-59851 is 83, indicating a significant potential security threat.

5

What is the impact of CVE-2026-59851?

The impact of CVE-2026-59851 includes the potential for unauthorized access due to a missing GSSAPI principal check after Kerberos authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203