OS Command Injection Affecting libssh package, versions <0:0.9.6-17.el8_10


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.12% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-LIBSSH-19511209
  • published3 Sept 2026
  • disclosed1 Sept 2026

Introduced: 1 Sep 2026

CVE-2026-59846  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 libssh to version 0:0.9.6-17.el8_10 or higher.
This issue was patched in ALSA-2026:62218.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh package and not the libssh package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1