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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-21 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2026-59851, DEBIAN-CVE-2026-59851, CGA-5p4m-2rwr-9m4g, CGA-68v9-v37m-32vm, CGA-846j-vhx7-x3c3, CGA-fxpv-9f3g-cp9q, CGA-vj98-rq5x-c28p, CGA-w2qp-f98x-mpvx, ALPINE-CVE-2026-59851
- Record: https://cvemate.com/vulnerability/CVE-2026-59851 · JSON: https://cvemate.com/vulnerability/CVE-2026-59851/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.363%, percentile 32.166%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.12.1-r0
- chainguard libssh (Chainguard): \< 0.12.1-r0
- chainguard libssh-dev (Chainguard): \< 0.12.1-r0
- chainguard libssh2 (Chainguard): All versions (No fix recorded)
- wolfi libssh (Wolfi): \< 0.12.1-r0
- wolfi libssh-dev (Wolfi): \< 0.12.1-r0
- wolfi libssh2 (Wolfi): All versions (No fix recorded)
- debian libssh (Debian): \< 0.12.1-1
- ubuntu libssh (Ubuntu): All versions (No fix recorded)
- libssh libssh: na \| 0.12.0
- 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
- redhat hardened\_images: na

## References

- <https://access.redhat.com/errata/RHSA-2026:42922>
- <https://access.redhat.com/errata/RHSA-2026:55855>
- <https://access.redhat.com/security/cve/CVE-2026-59851>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2498184>
- <https://ubuntu.com/security/CVE-2026-59851>
- <https://www.cve.org/CVERecord?id=CVE-2026-59851>
- <https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/>
- <https://www.libssh.org/security/advisories/CVE-2026-59851.txt>
- <https://security-tracker.debian.org/tracker/CVE-2026-59851>
- <https://security.alpinelinux.org/vuln/CVE-2026-59851>

---

Data as of 2026-12-05T03:21:12.629Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
