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

exploitDog

redhat логотип

CVE-2026-59995

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

Описание

sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.

A flaw was found in OpenSSH. The sftp client, when used to download files from a malicious server with the 'sftp server:/path .' command, does not properly restrict where those files are saved. This allows an attacker to control the download location, potentially overwriting existing files or placing malicious files in sensitive directories on the client system, which could compromise system integrity.

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

To mitigate this issue, avoid using the sftp server:/path . command when connecting to untrusted or potentially malicious SFTP servers. Exercise caution and verify the authenticity of SFTP servers before initiating file transfers, especially when using commands that implicitly define the download destination, and also avoid running SFTP sessions with elevated privileges (such as root).

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6opensshAffected
Red Hat Enterprise Linux 7opensshAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Under investigation
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Affected
Red Hat Enterprise Linux 10opensshFixedRHSA-2026:6912921.09.2026
Red Hat Enterprise Linux 10.0 Extended Update SupportopensshFixedRHSA-2026:7674806.10.2026
Red Hat Enterprise Linux 8opensshFixedRHSA-2026:6926621.09.2026
Red Hat Enterprise Linux 8opensshFixedRHSA-2026:6926621.09.2026
Red Hat Enterprise Linux 9opensshFixedRHSA-2026:6913021.09.2026
Red Hat Enterprise Linux 9opensshFixedRHSA-2026:6913021.09.2026

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

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

Статус:

Moderate
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2497927openssh: OpenSSH: sftp client allows attacker to control downloaded file location

EPSS

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

5.4 Medium

CVSS3

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

CVSS3: 5.4
ubuntu
4 месяца назад

sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.

CVSS3: 5.4
nvd
4 месяца назад

sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.

CVSS3: 4.2
msrc
4 месяца назад

sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.

CVSS3: 5.4
debian
4 месяца назад

sftp in OpenSSH before 10.4 does not properly constrain the location o ...

CVSS3: 4.2
github
4 месяца назад

sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.

EPSS

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

5.4 Medium

CVSS3