CVE-2026-59846
3.9low
Libssh: libssh: information disclosure via proxycommand %r username expansion
- Severity
- 3.9low CVSS:3.1 by redhat
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libssh | Not specified Not affected: from 0:0.12.0-3.el10_2 before *, from 0:0.9.6-17.el8_10 before *, from 0:0.10.4-19.el9_8 before * | CVE List |
| libssh-main | Not specified Not affected: from 0.12.1-4.hum1 before * | CVE List |
| libssh libssh | Not specified | NVD |
| redhat hardened_images | Not specified | NVD |
| redhat enterprise_linux | 8.0, 9.0, 10.0 | NVD |
Classification
References
| https://access.redhat.com/errata/RHSA-2026:42922 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:55855 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:62217 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:62218 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-59846 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2498179 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59846 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-59846 changed 2026-09-01 | Public domain |