CVE-2026-59851 in Libssh and 2 more products
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.
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Libssh | Libssh | 0.12.0 |
| Redhat | Enterprise Linux | 10.0 10.2 |
| Redhat | Hardened Images | No version listed by the source |
| 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 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-59851 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-07-21 |
| Last modified | 2026-11-23 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A high severity vulnerability (CVE-2026-59851) affects the target system. 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 arbitrar...
Questions
What is CVE-2026-59851?
A high severity vulnerability (CVE-2026-59851) affects the target system. 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 arbitrar...
What is the CVSS score for CVE-2026-59851?
CVE-2026-59851 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.5%.
Is CVE-2026-59851 actively exploited?
No confirmed active exploitation of CVE-2026-59851 as of 2026-11-24.
How do I remediate CVE-2026-59851?
Advisory: https://access.redhat.com/errata/RHSA-2026:42922
What systems are affected by CVE-2026-59851?
CVE-2026-59851 affects Libssh Libssh; Redhat Enterprise Linux, Hardened Images.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Libssh","product":"Libssh","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-23.