Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-35385

Опубликовано: 02 апр. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).

A flaw was found in OpenSSH. When the scp command is used by a root user to download a file with the legacy protocol option (-O) and without preserving original file permissions (-p), the downloaded file can be installed with elevated privileges (setuid or setgid). This unexpected behavior could allow a malicious file to execute with higher permissions than intended, posing a security risk through potential privilege escalation.

Отчет

This vulnerability is rated as an Important severity flaw because an untrusted remote system can deliver arbitrary setuid or setgid binaries to the local filesystem, resulting in root privilege escalation. Exploitation requires specific preconditions: an administrative user must run the file copy utility with root privileges while deliberately invoking the legacy transfer protocol and omitting preservation of file attributes. Because modern Red Hat Enterprise Linux releases utilize the SFTP-based backend by default, standard client invocations are not exposed unless backward-compatibility modes are explicitly enabled.

Меры по смягчению последствий

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Multicluster Engine for Kubernetesmulticluster-engine/hive-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-resolvers-rhel9Under investigation
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-rhel9Affected
Red Hat Enterprise Linux 10opensshFixedRHSA-2026:1338004.05.2026
Red Hat Enterprise Linux 10opensshFixedRHSA-2026:1906919.05.2026
Red Hat Enterprise Linux 10.0 Extended Update SupportopensshFixedRHSA-2026:1238930.04.2026
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONopensshFixedRHSA-2026:2506310.06.2026
Red Hat Enterprise Linux 7 Extended Lifecycle SupportopensshFixedRHSA-2026:2246802.06.2026
Red Hat Enterprise Linux 8opensshFixedRHSA-2026:1338304.05.2026
Red Hat Enterprise Linux 8opensshFixedRHSA-2026:1338304.05.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-281
https://bugzilla.redhat.com/show_bug.cgi?id=2454469OpenSSH: OpenSSH: Privilege escalation via scp legacy protocol when not preserving file mode

EPSS

Процентиль: 48%
0.00573
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 8.1
ubuntu
7 месяцев назад

In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).

CVSS3: 8.1
nvd
7 месяцев назад

In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).

CVSS3: 7.5
msrc
7 месяцев назад

In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).

CVSS3: 8.1
debian
7 месяцев назад

In OpenSSH before 10.3, a file downloaded by scp may be installed setu ...

CVSS3: 8.1
redos
4 месяца назад

Уязвимость openssh

EPSS

Процентиль: 48%
0.00573
Низкий

7.5 High

CVSS3