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 products
libssh: libssh; redhat: hardened images; redhat: enterprise linux
References6
- access.redhat.com/errata/RHSA-2026:42922 Vendor Advisory
- access.redhat.com/security/cve/CVE-2026-59846 Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2498179 Issue TrackingVendor Advisory
- access.redhat.com/errata/RHSA-2026:55855
- access.redhat.com/errata/RHSA-2026:62217
- access.redhat.com/errata/RHSA-2026:62218
Metrics
- CVSS 3.1
-
3.9
LOW
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 2 · as of 14 November 2026
- CWE
- CWE-78CWE-77
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.