CVE-2026-59846
Fixed in a distro release EPSS <1%CVSS 3.9
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.
Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Hardened Images
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | libssh | 0.12.0-3.el10_2 |
| AlmaLinux 10 | libssh-config | 0.12.0-3.el10_2 |
| AlmaLinux 10 | libssh-devel | 0.12.0-3.el10_2 |
| AlmaLinux 8 | libssh | 0.9.6-17.el8_10 |
| AlmaLinux 8 | libssh-config | 0.9.6-17.el8_10 |
| AlmaLinux 8 | libssh-devel | 0.9.6-17.el8_10 |
| AlmaLinux 9 | libssh | 0.10.4-19.el9_8 |
| AlmaLinux 9 | libssh-config | 0.10.4-19.el9_8 |
| AlmaLinux 9 | libssh-devel | 0.10.4-19.el9_8 |
| Chainguard | libssh | 0.12.1-r0 |
| Chainguard | libssh-dev | 0.12.1-r0 |
| Chainguard | libssh2 | 0 |
| Debian 12 | libssh | 0.10.6-0+deb12u3 |
| Debian 13 | libssh | 0.11.5-0+deb13u1 |
| Debian 14 | libssh | 0.12.1-1 |
| Red Hat Enterprise Linux 10.2 | libssh | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-config | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-debuginfo | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-debugsource | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-devel | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 8 | libssh | 0:0.9.6-17.el8_10 |
| Red Hat Enterprise Linux 8 | libssh-config | 0:0.9.6-17.el8_10 |
| Red Hat Enterprise Linux 8 | libssh-debuginfo | 0:0.9.6-17.el8_10 |
| Red Hat Enterprise Linux 8 | libssh-debugsource | 0:0.9.6-17.el8_10 |
| Red Hat Enterprise Linux 8 | libssh-devel | 0:0.9.6-17.el8_10 |
| Red Hat Enterprise Linux 9 | libssh | 0:0.10.4-19.el9_8 |
| Red Hat Enterprise Linux 9 | libssh-config | 0:0.10.4-19.el9_8 |
| Red Hat Enterprise Linux 9 | libssh-debuginfo | 0:0.10.4-19.el9_8 |
| Red Hat Enterprise Linux 9 | libssh-debugsource | 0:0.10.4-19.el9_8 |
| Red Hat Enterprise Linux 9 | libssh-devel | 0:0.10.4-19.el9_8 |
| Red Hat hummingbird 1 | libssh | 0:0.12.1-4.hum1 |
| Red Hat hummingbird 1 | libssh-config | 0:0.12.1-4.hum1 |
| Red Hat hummingbird 1 | libssh-devel | 0:0.12.1-4.hum1 |
| Rocky Linux 10 | libssh | 0:0.12.0-3.el10_2 |
| Rocky Linux 8 | libssh | 0:0.9.6-17.el8_10 |
| Rocky Linux 9 | libssh | 0:0.10.4-19.el9_8 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Micro 5.3 | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Micro 5.4 | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Micro 5.5 | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | libssh | 0.9.8-150600.11.15.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | libssh | 0.9.8-3.24.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | libssh | 0.9.8-150600.11.15.1 |
| SUSE Linux Enterprise Server 16.0 | libssh | 0.11.5-160000.1.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | libssh | 0.9.8-3.24.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | libssh | 0.9.8-150400.3.20.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | libssh | 0.9.8-150600.11.15.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | libssh | 0.11.5-160000.1.1 |
| SUSE Linux Micro 6.0 | libssh | 0.10.6-5.1 |
| SUSE Linux Micro 6.1 | libssh | 0.10.6-slfo.1.1_6.1 |
| SUSE Linux Micro 6.2 | libssh | 0.11.5-160000.1.1 |
| Ubuntu 22.04 LTS | libssh | 0.9.6-2ubuntu0.22.04.8 |
| Ubuntu 24.04 LTS | libssh | 0.10.6-2ubuntu0.5 |
| Ubuntu 26.04 LTS | libssh | 0.11.3-1ubuntu2.1 |
| Ubuntu Pro 16.04 LTS | libssh | no fix |
| Ubuntu Pro 18.04 LTS | libssh | no fix |
| Ubuntu Pro 20.04 LTS | libssh | no fix |
| Wolfi | libssh | 0.12.1-r0 |
| Wolfi | libssh-dev | 0.12.1-r0 |
| Wolfi | libssh2 | 0 |
| openSUSE Leap 16.0 | libssh | 0.11.5-160000.1.1 |
| openSUSE Tumbleweed | libssh | 0.11.5-1.2 |