CVE-2026-59846
JSON

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 packageVersionsReported by
libsshNot 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-mainNot specified
Not affected: from 0.12.1-4.hum1 before *
CVE List
libssh libsshNot specifiedNVD
redhat hardened_imagesNot specifiedNVD
redhat enterprise_linux8.0, 9.0, 10.0NVD

Classification

CWE-77CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59846 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-59846 changed 2026-09-01Public domain