{"schemaVersion":3,"id":"CVE-2026-59851","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"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-21T14:20:47.001Z","modified":"2026-08-17T21:38:10.967Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00489,"percentile":0.40811,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.19900000000000004,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0029},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00489,"percentile":0.40811}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00489,"percentile":0.40811}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"chainguard","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libssh-dev","name":"libssh-dev","label":"libssh-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh-dev","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh-dev","name":"libssh-dev","label":"libssh-dev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh-dev","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libssh","purlType":"deb","versions":[{"text":"< 0.12.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libssh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"libssh","product":"libssh","name":"libssh","label":"libssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/libssh/libssh"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":false,"eolDate":"2035-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Upcoming ELS)","eolFrom":"2035-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.2"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"hardened_images","name":"hardened images","label":"hardened_images","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/redhat/hardened_images"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:42922","label":"access.redhat.com/errata/RHSA-2026:42922","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Issue Tracking"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55855","label":"access.redhat.com/errata/RHSA-2026:55855","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-59851","label":"access.redhat.com/security/cve/CVE-2026-59851","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498184","label":"bugzilla.redhat.com/show_bug.cgi?id=2498184","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-59851","label":"ubuntu.com/security/CVE-2026-59851","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59851","label":"www.cve.org/CVERecord?id=CVE-2026-59851","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/","label":"www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/","hostname":"www.libssh.org","tags":["REPORT"]},{"url":"https://www.libssh.org/security/advisories/CVE-2026-59851.txt","label":"www.libssh.org/security/advisories/CVE-2026-59851.txt","hostname":"www.libssh.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-59851","label":"security-tracker.debian.org/tracker/CVE-2026-59851","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:42922","RHSA-2026:55855"],"duplicates":[],"related":["CGA-W936-QQPJ-75GX"]},"timeline":[{"kind":"published","date":"2026-07-21T14:20:47.001Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-17T21:38:10.967Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:12:08.813Z","stale":false,"partial":false}}