{"id":"CVE-2026-59846","aliases":["CVE-2026-59846"],"related":[],"kind":"vulnerability","state":"published","title":"Libssh: libssh: information disclosure via proxycommand %r username expansion","summary":"A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior.","source":"cvelist"}],"published":"2026-07-21T12:55:56.532Z","modified":"2026-11-06T19:28:52.787Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.9,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.9,"rating":"LOW"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:0.12.0-3.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.9.6-17.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.9.6-17.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.10.4-19.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.10.4-19.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0.12.1-4.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"libssh-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"libssh","product":"libssh","cpe":"cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"hardened_images","cpe":"cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:42922","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55855","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62217","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62218","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-59846","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498179","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Mikhail Ilin and Saransh Rana for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-22T14:03:12.267Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59846","url":"https://www.cve.org/CVERecord?id=CVE-2026-59846","licence":"CVE Terms of Use","modified":"2026-11-06T19:28:52.787Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59846","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59846","licence":"Public domain","modified":"2026-09-01T21:18:34.740Z"}],"updatedAt":"2026-11-25T22:59:29.333Z","epss":{"score":0.0012,"percentile":0.02035,"date":"2026-12-01T12:00:22.000Z"}}