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

- Severity: High 8.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-07-21T14:20:47.001Z
- Modified: 2026-11-23T16:17:49.797Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libssh: no versions given (not affected: from 0:0.12.0-3.el10_2 before *)
- libssh-main: no versions given (not affected: from 0.12.1-4.hum1 before *)
- libssh libssh: 0.12.0
- redhat hardened_images: no versions given
- redhat enterprise_linux: 10.0; 10.2
- redhat enterprise_linux_eus: 10.2
- redhat enterprise_linux_for_els: 10.2
- redhat enterprise_linux_for_ibm_z_systems: 10.0_s390x; 10.2
- redhat enterprise_linux_for_ibm_z_systems_els: 10.2
- redhat enterprise_linux_for_ibm_z_systems_eus: 10.2
- redhat enterprise_linux_for_power_little_endian: 10.0_ppc64le; 10.2
- redhat enterprise_linux_for_power_little_endian_els: 10.2
- redhat enterprise_linux_for_power_little_endian_eus: 10.2

## References

- <https://access.redhat.com/errata/RHSA-2026:42922> (issue-tracking, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:55855> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-59851> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2498184> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2026-59851](https://www.cve.org/CVERecord?id=CVE-2026-59851), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-59851](https://nvd.nist.gov/vuln/detail/CVE-2026-59851), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-59851 · Whole record: https://cve.day/CVE-2026-59851.json · Rebuilt by cve.day 2026-11-25T22:59:29.340Z
