OS Command Injection Affecting libssh-devel package, versions <0:0.10.6-1.amzn2023.0.9


Severity

Recommended
medium

Based on Amazon Linux 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-AMZN2023-LIBSSHDEVEL-20246022
  • published29 Sept 2026
  • disclosed21 Jul 2026

Introduced: 21 Jul 2026

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

How to fix?

Upgrade Amazon-Linux:2023 libssh-devel to version 0:0.10.6-1.amzn2023.0.9 or higher.
This issue was patched in ALAS2023-2026-3096.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh-devel package and not the libssh-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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