Command Injection Affecting openssh package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (14th 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-CONAN-OPENSSH-21206779
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditUnknown

Introduced: 15 Oct 2026

NewCVE-2026-110925  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for openssh.

Overview

Affected versions of this package are vulnerable to Command Injection via the expansion of %u in the configuration when an untrusted username containing special characters such as '$' or a non-trailing backslash is passed on the ssh command line. An attacker can execute arbitrary shell commands by supplying a crafted username that is expanded in ProxyCommand or Match exec directives. This is only exploitable if %u is expanded into a shell command and an untrusted username is provided on the command line.

Workaround

This vulnerability can be mitigated by avoiding the use of untrusted usernames on the ssh command line when ProxyCommand or Match exec expands %u, and by not expanding %u into a shell command.

CVSS Base Scores

version 4.0
version 3.1