CVE-2026-59851: libssh GSSAPIKeyExchange Authorization Bypass
- Vendors
- Red HatLibssh
CVE-2026-59851 is an authorization bypass in libssh server deployments that enable GSSAPIKeyExchange. The gssapi-keyex authentication path accepts an authenticated Kerberos principal without verifying that the principal is authorized to access the local user account requested during login. Consequently, a Kerberos-authenticated client can request and obtain a session as an arbitrary local user.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An authenticated attacker can impersonate arbitrary local accounts, potentially including privileged accounts such as root. This can result in complete compromise of the affected host's confidentiality, integrity, and availability within the privileges available to the impersonated account.
Mitigation
If you can’t patch tonight, do this now.
Disable GSSAPIKeyExchange on affected libssh servers until the fixed libssh version is installed. Restrict network access to SSH services and Kerberos-authenticated clients as a defense-in-depth measure.
Remediation
Patch, then assume compromise.
Upgrade to a libssh release containing the fix. libssh 0.12.1 addresses CVE-2026-59851. For Red Hat Enterprise Linux 10, apply the vendor security update providing libssh version 0.12.0-3.el10_2 or a later supported package release.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-59851 exploited in the wild?
- As of Nov 6, 2026, Mallory has no reports of CVE-2026-59851 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-59851?
- As of Nov 6, 2026, Mallory has found no public exploit for CVE-2026-59851.
- Is there a patch for CVE-2026-59851?
- Upgrade to a libssh release containing the fix. libssh 0.12.1 addresses CVE-2026-59851. For Red Hat Enterprise Linux 10, apply the vendor security update providing libssh version 0.12.0-3.el10_2 or a later supported package release.
- What products are affected by CVE-2026-59851?
- Libssh, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux For Els, Red Hat Enterprise Linux For Ibm Z Systems, Red Hat Enterprise Linux For Ibm Z Systems Els, and 6 more.
- How severe is CVE-2026-59851?
- CVE-2026-59851 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.49% (35th percentile) as of Nov 6, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.