RCE in Libssh
CVE-2026-59846
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.001 (2.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.9 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
Affected products
- Libssh
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images — versions 0.12.1-4.hum1
- Redhat Enterprise_linux — versions 8.0, 9.0, 10.0
- Redhat Hardened_images
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Issue Tracking, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
Frequently asked questions
- What is CVE-2026-59846?
- CVE-2026-59846 is a low-severity vulnerability in Libssh, classified under OS Command Injection. CVSS score: 3.9/10. Published 2026-07-21.
- How severe is CVE-2026-59846?
- Low severity. CVSS v3 base score is 3.9 out of 10.