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

High 8.8 Published Updated

Attackers can bypass authentication to log in as arbitrary users on servers using GSSAPI key exchange without proper principal verification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-59851?

CVE-2026-59851 is a high-severity authentication bypass vulnerability in Redhat Enterprise Linux, published on 21 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-863

Which versions are affected by CVE-2026-59851?

It affects 3 products.

Products include Libssh Libssh, Redhat Enterprise Linux, Redhat Hardened Images.

How do I fix CVE-2026-59851?

Apply the vendor's patch.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-59851 being exploited?

There is no known exploitation of CVE-2026-59851 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as BELL-CVE-2026-59851, DEBIAN-CVE-2026-59851, GHSA-x5cr-v39m-53gw.

Is CVE-2026-59851 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free