Vulnerability · Published Jul 21, 2026 · Assigned by redhat

CVE-2026-59846Libssh: libssh: information disclosure via proxycommand %r username expansion

Low 3.9

In plain English

A low-severity OS command injection in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.9Low
Exploit odds (30 days)0.1%top 98.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10libssh0.12.0-3.el10_2ALSA-2026:55855
AlmaLinux:8libssh0.9.6-17.el8_10ALSA-2026:62218
AlmaLinux:9libssh0.10.4-19.el9_8ALSA-2026:62217
AlmaLinux:10libssh-config0.12.0-3.el10_2ALSA-2026:55855
AlmaLinux:8libssh-config0.9.6-17.el8_10ALSA-2026:62218
AlmaLinux:9libssh-config0.10.4-19.el9_8ALSA-2026:62217
AlmaLinux:10libssh-devel0.12.0-3.el10_2ALSA-2026:55855
AlmaLinux:8libssh-devel0.9.6-17.el8_10ALSA-2026:62218
AlmaLinux:9libssh-devel0.10.4-19.el9_8ALSA-2026:62217
Alpine:v3.24libssh0.12.1-r0ALPINE-CVE-2026-59846
Debian:12libssh0.10.6-0+deb12u3DEBIAN-CVE-2026-59846
Debian:13libssh0.11.5-0+deb13u1DEBIAN-CVE-2026-59846
Debian:14libssh0.12.1-1DEBIAN-CVE-2026-59846
Rocky Linux:10libssh0:0.12.0-3.el10_2RLSA-2026:55855
Rocky Linux:8libssh0:0.9.6-17.el8_10RLSA-2026:62218
Rocky Linux:9libssh0:0.10.4-19.el9_8RLSA-2026:62217
Ubuntu:22.04:LTSlibssh0.9.6-2ubuntu0.22.04.8UBUNTU-CVE-2026-59846
Ubuntu:22.04:LTSlibssh0.9.6-2ubuntu0.22.04.8USN-8699-1
Ubuntu:24.04:LTSlibssh0.10.6-2ubuntu0.5UBUNTU-CVE-2026-59846
Ubuntu:24.04:LTSlibssh0.10.6-2ubuntu0.5USN-8699-1
Ubuntu:26.04:LTSlibssh0.11.3-1ubuntu2.1USN-8699-1
Ubuntu:26.04:LTSlibssh0.11.3-1ubuntu2.1UBUNTU-CVE-2026-59846

Affected products (as reported)

Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References