Every CVE Search/ Get API key

CVE-2026-59851

Libssh: libssh: authentication bypass via missing gssapi principal check

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.49%Up 0.2 points since Jul 22, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.8

Libssh: libssh: authentication bypass via missing gssapi principal check

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.

Record
CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
EUVDEUVD-2026-46268 8.8

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.

Record
EUVD-2026-46268
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-05
GitHub AdvisoriesGHSA-x5cr-v39m-53gw 8.8

A flaw was found in libssh. On servers with GSSAPIKeyExchange enabled, the gssapi-keyex path does...

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.

Record
GHSA-x5cr-v39m-53gw
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
NVD 8.8

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.

Record
CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-05
OSVALPINE-CVE-2026-59851 8.8

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.

Record
ALPINE-CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVBELL-CVE-2026-59851 8.8
Record
BELL-CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSV 8.8

Libssh: libssh: authentication bypass via missing gssapi principal check

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.

Record
CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-07
OSVDEBIAN-CVE-2026-59851 8.8

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.

Record
DEBIAN-CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-05
OSVRHSA-2026:42922 8.8

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:42922
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:55855 8.8

Red Hat Security Advisory: libssh security update

Record
RHSA-2026:55855
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2026:55855 8.8

Important: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: information disclosure via short GSSAPI Curve25519 public key (CVE-2026-59842)

  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)

  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)

  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)

  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)

  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)

  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)

  • libssh: libssh: denial of service via automatic certificate authentication loop (CVE-2026-59849)

  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)

  • libssh: libssh: authentication bypass via missing GSSAPI principal check (CVE-2026-59851)

  • libssh: libssh: stack buffer overflow in SFTP server longname construction (CVE-2026-15370)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:55855
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-59851 8.8

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.

Record
UBUNTU-CVE-2026-59851
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2026:55855 No score

Important: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: information disclosure via short GSSAPI Curve25519 public key (CVE-2026-59842)
  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)
  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)
  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)
  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)
  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)
  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)
  • libssh: libssh: denial of service via automatic certificate authentication loop (CVE-2026-59849)
  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)
  • libssh: libssh: authentication bypass via missing GSSAPI principal check (CVE-2026-59851)
  • libssh: libssh: stack buffer overflow in SFTP server longname construction (CVE-2026-15370)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:55855
Updated
2026-11-02

Affected products

Show 3 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
libssh
Alpine:v3.24
before 0.12.1-r0
0.12.1-r0
libssh
AlmaLinux:10
From an advisory covering 11 CVEs
before 0.12.0-3.el10_2
0.12.0-3.el10_2
libssh-config
AlmaLinux:10
From an advisory covering 11 CVEs
before 0.12.0-3.el10_2
0.12.0-3.el10_2
libssh-devel
AlmaLinux:10
From an advisory covering 11 CVEs
before 0.12.0-3.el10_2
0.12.0-3.el10_2
libssh
Alpaquita:stream
0.9.6-r1 up to 0.12.1-r0
0.12.1-r0
libssh
Debian:14
before 0.12.1-1, plus listed versions
0.11.2-10.11.3-10.12.0-10.12.0-20.12.0-3
0.12.1-1
libssh
Red Hat:hummingbird:1
From an advisory covering 10 CVEs
before 0:0.12.1-4.hum1
0:0.12.1-4.hum1
libssh-config
Red Hat:hummingbird:1
From an advisory covering 10 CVEs
before 0:0.12.1-4.hum1
0:0.12.1-4.hum1
libssh-devel
Red Hat:hummingbird:1
From an advisory covering 10 CVEs
before 0:0.12.1-4.hum1
0:0.12.1-4.hum1
libssh-debuginfo
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
Show 5 moreShow less
Affected packages
PackageAffectedFixed
libssh-debugsource
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh-devel
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh-config
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh
Rocky Linux:10
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2

History

History
RecordedChangedSources
referencesOSV
affected
products, referencesNVD, OSV
factsEUVD
affected, aliases, referencesOSV
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-59851 is a high vulnerability (CVSS 8.8) in Libssh, published July 21, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in libssh 0.12.1-r0.

References

Show 67 moreShow less
MoveEnter Open