Incorrect Behavior Order Affecting openssh-portable package, versions [,10.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th 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-UNMANAGED-OPENSSHPORTABLE-15924835
  • published7 Apr 2026
  • disclosed2 Apr 2026
  • creditFlorian Kohnhäuser

Introduced: 2 Apr 2026

CVE-2026-35386  (opens in a new tab)
CWE-696  (opens in a new tab)

How to fix?

Upgrade openssh-portable to version 10.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Behavior Order via injection of shell metacharacters into the username parameter. An attacker can execute arbitrary commands by supplying specially crafted input. This is only exploitable if the username is untrusted and the '%' character is configured in ssh_config.

CVSS Base Scores

version 4.0
version 3.1