OS Command Injection Affecting openssh-ldap package, versions <0:8.0p1-29.el8_10


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.25% (16th 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-CENTOS8-OPENSSHLDAP-15943904
  • published8 Apr 2026
  • disclosed2 Apr 2026

Introduced: 2 Apr 2026

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

How to fix?

Upgrade Centos:8 openssh-ldap to version 0:8.0p1-29.el8_10 or higher.

NVD Description

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

In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line. This requires a scenario where the username on the command line is untrusted, and also requires a non-default configurations of % in ssh_config.

CVSS Base Scores

version 3.1