Описание
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
A flaw was found in OpenSSH. The OpenSSH client insufficiently sanitizes command-line usernames containing special characters, such as dollar signs and backslashes. When untrusted input is passed to the client command line, an attacker can exploit this issue to perform command injection through shell-evaluated options such as ProxyCommand, potentially leading to arbitrary command execution.
Отчет
This vulnerability is rated as an Important severity impact because successful exploitation permits arbitrary command execution within the security context of the user executing the OpenSSH client. Although the OpenSSH server daemon (sshd) is unaffected, the client utility is ubiquitously deployed across Red Hat Enterprise Linux and container environments for administrative and automation tasks. The flaw can only be triggered under specific operational conditions where scripts or wrapper applications pass untrusted external input into the destination username argument alongside shell-evaluated directives such as ProxyCommand.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | openssh | Affected | ||
| Red Hat Enterprise Linux 7 | openssh | Affected | ||
| Red Hat Hardened Images | openshell | Not affected | ||
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel9 | Affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Affected | ||
| Red Hat OpenShift Container Platform 5 | openshift/ose-rhel-coreos-9 | Affected | ||
| Red Hat Enterprise Linux 10 | openssh | Fixed | RHSA-2026:102195 | 23.11.2026 |
| Red Hat Enterprise Linux 8 | openssh | Fixed | RHSA-2026:102190 | 23.11.2026 |
| Red Hat Enterprise Linux 8 | openssh | Fixed | RHSA-2026:102190 | 23.11.2026 |
Показывать по
Дополнительная информация
Статус:
7 High
CVSS3
Связанные уязвимости
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a comma ...
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
7 High
CVSS3