CVE-2026-59851: Libssh: libssh: authentication bypass via missing gssapi principal check
Noroxi assessment
Priority: Monitor (action score 35/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.48% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libssh (AlmaLinux:10) 0.12.0-3.el10_2; libssh-config (AlmaLinux:10) 0.12.0-3.el10_2; libssh-devel (AlmaLinux:10) 0.12.0-3.el10_2.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to libssh (AlmaLinux:10) 0.12.0-3.el10_2; libssh-config (AlmaLinux:10) 0.12.0-3.el10_2; libssh-devel (AlmaLinux:10) 0.12.0-3.el10_2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 21, 2026
- Updated
- Nov 5, 2026
- EPSS
- 0.4% · 42th percentile
- CWE
- CWE-863
Report tools
Action score
35
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 8.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libssh | libssh | cpe:2.3:a:libssh:libssh |
| redhat | hardened images | cpe:2.3:a:redhat:hardened_images |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for els | cpe:2.3:o:redhat:enterprise_linux_for_els |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems els | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian els | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 10
- 0:0.12.0-3.el10_2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8
- all versionsunknown
Red Hat Red Hat Enterprise Linux 9
- all versionsunknown
Red Hat Red Hat Hardened Images
- 0.12.1-4.hum1 and laternot affected · rpm
Affected versions · NVD (14)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libssh libssh0.12.0
- redhat enterprise linux10.0
- redhat enterprise linux10.2
- redhat enterprise linux eus10.2
- redhat enterprise linux for els10.2
- redhat enterprise linux for ibm z systems10.0_s390x
- redhat enterprise linux for ibm z systems10.2
- redhat enterprise linux for ibm z systems els10.2
- redhat enterprise linux for ibm z systems eus10.2
- redhat enterprise linux for power little endian10.0_ppc64le
- redhat enterprise linux for power little endian10.2
- redhat enterprise linux for power little endian els10.2
- redhat enterprise linux for power little endian eus10.2
- redhat hardened imagesall versions
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | libssh | before 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| AlmaLinux:10 | libssh-config | before 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| AlmaLinux:10 | libssh-devel | before 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| Alpine:v3.24 | libssh | before 0.12.1-r0 | 0.12.1-r0 |
| Debian:14 | libssh | before 0.12.1-1 | 0.12.1-1 |
| Red Hat:enterprise_linux:10.2 | libssh | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-config | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-debuginfo | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-debugsource | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-devel | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:hummingbird:1 | libssh | before 0:0.12.1-4.hum1 | 0:0.12.1-4.hum1 |
| Red Hat:hummingbird:1 | libssh-config | before 0:0.12.1-4.hum1 | 0:0.12.1-4.hum1 |
| Red Hat:hummingbird:1 | libssh-devel | before 0:0.12.1-4.hum1 | 0:0.12.1-4.hum1 |
| Rocky Linux:10 | libssh | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
Same product
libssh: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-10933A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4.64This week
- CVE-2019-14889A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8.36Monitor
- CVE-2025-5372Libssh: incorrect return code handling in ssh_kdf() in libssh35Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-59850Jul 21, 2026 · Libssh: libssh: use-after-free via data callbacks on closed channels30Monitor
- ← EarlierCVE-2026-59842Jul 21, 2026 · Libssh: libssh: information disclosure via short gssapi curve25519 public key21Monitor
- ← EarlierCVE-2026-59849Jul 21, 2026 · Libssh: libssh: denial of service via automatic certificate authentication loop30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libssh | 0.12.0-3.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libssh-config | 0.12.0-3.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libssh-devel | 0.12.0-3.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| alpine:libssh | 0.12.1-r0 · Alpine:v3.24 | Package registry (OSV) |
| debian:libssh | 0.12.1-1 · Debian:14 | Package registry (OSV) |
| red hat:libssh | 0:0.12.1-4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:libssh-config | 0:0.12.1-4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:libssh-debuginfo | 0:0.12.0-3.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libssh-debugsource | 0:0.12.0-3.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libssh-devel | 0:0.12.0-3.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libssh-devel | 0:0.12.1-4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| rocky linux:libssh | 0:0.12.0-3.el10_2 · Rocky Linux:10 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2026-598460 days apartLibssh: libssh: information disclosure via proxycommand %r username expansion15Monitor
- CVE-2026-0965117 days apartLibssh: libssh: denial of service via improper configuration file handling13Monitor
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0601 · Jul 22, 2026(libssh Güvenlik Zafiyeti)
Not on record for this CVE: patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-863 · Incorrect AuthorizationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.