Auth bypass in Libssh
CVE-2026-59851
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libssh — versions 0.12.0
- Red Hat Enterprise Linux — versions 10.2, 10.0
- Red Hat Enterprise Linux Eus — versions 10.2
- Red Hat Enterprise Linux For Els — versions 10.2
- Red Hat Enterprise Linux For IBM Z Systems — versions 10.0_s390x, 10.2
- Red Hat Enterprise Linux For IBM Z Systems Els — versions 10.2
- Red Hat Enterprise Linux For IBM Z Systems Eus — versions 10.2
- Red Hat Enterprise Linux For Power Little Endian — versions 10.0_ppc64le, 10.2
- Red Hat Enterprise Linux For Power Little Endian Els — versions 10.2
- Red Hat Enterprise Linux For Power Little Endian Eus — versions 10.2
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-59851 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:42922 (vendor-advisory, Issue Tracking)
- access.redhat.com/errata/RHSA-2026:55855 (vendor-advisory, Vendor Advisory)