CVE-2026-59995

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.

CVE-2026-59995 is fixed in 25 products on 1 platform, first by openssh-client 1:10.2p1-2ubuntu3.4, released July 7, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0025
16th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
openssh · Debian 14 1:10.4p1-1 DEBIAN-CVE-2026-59995 Jul 28, 2026
openssh · RHEL 10 9.9p1-7.el10_0.5 RHSA-2026:76748 Jul 31, 2026
openssh · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh · RHEL 9 0:9.9p1-11.el9_8 RHSA-2026:69130 Sep 22, 2026
openssh · almalinux 10 9.9p1-27.el10_2.alma.1 ALSA-2026:69129 Sep 21, 2026
openssh · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh · almalinux 9 9.9p1-11.el9_8.alma.1 ALSA-2026:69130 Sep 21, 2026
openssh · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh · ol 10 0:9.9p1-27.0.1.el10_2 ELSA-2026-69129 Sep 29, 2026
openssh · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh · ol 9 0:9.9p1-11.0.1.el9_8 ELSA-2026-69130 Sep 22, 2026
openssh · opensuse-leap 16.0 10.0p2-160000.7.1 OPENSUSE-SU-2026:21477-1 Jul 29, 2026
openssh · rocky 10 0:9.9p1-27.el10_2.rocky.0.1 RLSA-2026:69129 Sep 22, 2026
openssh · rocky 8 0:8.0p1-33.el8_10 RLSA-2026:69266 Sep 22, 2026
openssh · rocky 9 0:9.9p1-11.el9_8.rocky.0.1 RLSA-2026:69130 Sep 22, 2026
openssh · sles 15.6 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1 Aug 13, 2026
openssh · sles 15.7 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1 Aug 13, 2026
openssh-askpass · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh-askpass · RHEL 9 0:9.9p1-11.el9_8 RHSA-2026:69130 Sep 22, 2026
openssh-askpass · almalinux 10 9.9p1-27.el10_2.alma.1 ALSA-2026:69129 Sep 21, 2026
openssh-askpass · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh-askpass · almalinux 9 9.9p1-11.el9_8.alma.1 ALSA-2026:69130 Sep 21, 2026
openssh-askpass · ol 10 0:9.9p1-27.0.1.el10_2 ELSA-2026-69129 Sep 29, 2026
openssh-askpass · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh-askpass · ol 9 0:9.9p1-11.0.1.el9_8 ELSA-2026-69130 Sep 22, 2026
openssh-askpass-gnome · opensuse-leap 16.0 10.0p2-160000.7.1 OPENSUSE-SU-2026:21477-1 Jul 29, 2026
openssh-askpass-gnome · sles 15.6 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1 Aug 13, 2026
openssh-askpass-gnome · sles 15.7 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1 Aug 13, 2026
openssh-cavs · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh-cavs · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh-cavs · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh-client · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.7+esm6 openssh-client 1:7.6p1-4ubuntu0.7+esm6 Aug 11, 2026
openssh-client · Ubuntu 20.04 LTS (focal) 1:8.2p1-4ubuntu0.13+esm3 openssh-client 1:8.2p1-4ubuntu0.13+esm3 Aug 11, 2026
openssh-client · Ubuntu 22.04.1 LTS (jammy) 1:8.9p1-3ubuntu0.16 openssh-client 1:8.9p1-3ubuntu0.16 Jul 14, 2026
openssh-client · Ubuntu 24.04.5 LTS (noble) 1:9.6p1-3ubuntu13.18 openssh-client 1:9.6p1-3ubuntu13.18 Jul 14, 2026
openssh-client · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 openssh-client 1:10.2p1-2ubuntu3.4 Jul 7, 2026
openssh-client-gssapi · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 openssh-client-gssapi 1:10.2p1-2ubuntu3.4 Jul 7, 2026
openssh-clients · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh-clients · RHEL 9 0:9.9p1-11.el9_8 RHSA-2026:69130 Sep 22, 2026
openssh-clients · almalinux 10 9.9p1-27.el10_2.alma.1 ALSA-2026:69129 Sep 21, 2026
openssh-clients · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh-clients · almalinux 9 9.9p1-11.el9_8.alma.1 ALSA-2026:69130 Sep 21, 2026
openssh-clients · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-clients · ol 10 0:9.9p1-27.0.1.el10_2 ELSA-2026-69129 Sep 29, 2026
openssh-clients · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh-clients · ol 9 0:9.9p1-11.0.1.el9_8 ELSA-2026-69130 Sep 22, 2026
openssh-clients-debuginfo · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-debuginfo · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-debugsource · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-keycat · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh-keycat · RHEL 9 0:9.9p1-11.el9_8 RHSA-2026:69130 Sep 22, 2026
openssh-keycat · almalinux 10 9.9p1-27.el10_2.alma.1 ALSA-2026:69129 Sep 21, 2026
openssh-keycat · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh-keycat · almalinux 9 9.9p1-11.el9_8.alma.1 ALSA-2026:69130 Sep 21, 2026
openssh-keycat · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-keycat · ol 10 0:9.9p1-27.0.1.el10_2 ELSA-2026-69129 Sep 29, 2026
openssh-keycat · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh-keycat · ol 9 0:9.9p1-11.0.1.el9_8 ELSA-2026-69130 Sep 22, 2026
openssh-keycat-debuginfo · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-keysign · almalinux 10 9.9p1-27.el10_2.alma.1 ALSA-2026:69129 Sep 21, 2026
openssh-keysign · ol 10 0:9.9p1-27.0.1.el10_2 ELSA-2026-69129 Sep 29, 2026
openssh-ldap · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh-ldap · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh-ldap · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh-server · RHEL 8 0:8.0p1-33.el8_10 RHSA-2026:69266 Sep 22, 2026
openssh-server · RHEL 9 0:9.9p1-11.el9_8 RHSA-2026:69130 Sep 22, 2026
openssh-server · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.7+esm6 openssh-server 1:7.6p1-4ubuntu0.7+esm6 Aug 11, 2026
openssh-server · Ubuntu 20.04 LTS (focal) 1:8.2p1-4ubuntu0.13+esm3 openssh-server 1:8.2p1-4ubuntu0.13+esm3 Aug 11, 2026
openssh-server · Ubuntu 22.04.1 LTS (jammy) 1:8.9p1-3ubuntu0.16 openssh-server 1:8.9p1-3ubuntu0.16 Jul 14, 2026
openssh-server · Ubuntu 24.04.5 LTS (noble) 1:9.6p1-3ubuntu13.18 openssh-server 1:9.6p1-3ubuntu13.18 Jul 14, 2026
openssh-server · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 openssh-server 1:10.2p1-2ubuntu3.4 Jul 7, 2026
openssh-server · almalinux 10 9.9p1-27.el10_2.alma.1 ALSA-2026:69129 Sep 21, 2026
openssh-server · almalinux 8 8.0p1-33.el8_10 ALSA-2026:69266 Sep 21, 2026
openssh-server · almalinux 9 9.9p1-11.el9_8.alma.1 ALSA-2026:69130 Sep 21, 2026
openssh-server · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-server · ol 10 0:9.9p1-27.0.1.el10_2 ELSA-2026-69129 Sep 29, 2026
openssh-server · ol 8 0:8.0p1-33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
openssh-server · ol 9 0:9.9p1-11.0.1.el9_8 ELSA-2026-69130 Sep 22, 2026
openssh-server-debuginfo · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-server-gssapi · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 openssh-server-gssapi 1:10.2p1-2ubuntu3.4 Jul 7, 2026
openssh-sftp-server · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.7+esm6 openssh-sftp-server 1:7.6p1-4ubuntu0.7+esm6 Aug 11, 2026
openssh-sftp-server · Ubuntu 20.04 LTS (focal) 1:8.2p1-4ubuntu0.13+esm3 openssh-sftp-server 1:8.2p1-4ubuntu0.13+esm3 Aug 11, 2026
openssh-sftp-server · Ubuntu 22.04.1 LTS (jammy) 1:8.9p1-3ubuntu0.16 openssh-sftp-server 1:8.9p1-3ubuntu0.16 Jul 14, 2026
openssh-sftp-server · Ubuntu 24.04.5 LTS (noble) 1:9.6p1-3ubuntu13.18 openssh-sftp-server 1:9.6p1-3ubuntu13.18 Jul 14, 2026
openssh-sftp-server · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 openssh-sftp-server 1:10.2p1-2ubuntu3.4 Jul 7, 2026
openssh-sk-dummy · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-sk-dummy-debuginfo · amzn 2023 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
openssh-tests · Ubuntu 20.04 LTS (focal) 1:8.2p1-4ubuntu0.13+esm3 openssh-tests 1:8.2p1-4ubuntu0.13+esm3 Aug 11, 2026
openssh-tests · Ubuntu 22.04.1 LTS (jammy) 1:8.9p1-3ubuntu0.16 openssh-tests 1:8.9p1-3ubuntu0.16 Jul 14, 2026
openssh-tests · Ubuntu 24.04.5 LTS (noble) 1:9.6p1-3ubuntu13.18 openssh-tests 1:9.6p1-3ubuntu13.18 Jul 14, 2026
openssh-tests · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 openssh-tests 1:10.2p1-2ubuntu3.4 Jul 7, 2026
pam_ssh_agent_auth · RHEL 8 0:0.10.3-8.33.el8_10 RHSA-2026:69266 Sep 22, 2026
pam_ssh_agent_auth · RHEL 9 0:0.10.4-8.11.el9_8 RHSA-2026:69130 Sep 22, 2026
pam_ssh_agent_auth · almalinux 8 0.10.3-8.33.el8_10 ALSA-2026:69266 Sep 21, 2026
pam_ssh_agent_auth · almalinux 9 0.10.4-8.11.el9_8.alma.1 ALSA-2026:69130 Sep 21, 2026
pam_ssh_agent_auth · amzn 2023 0.10.4-10.16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
pam_ssh_agent_auth · ol 8 0:0.10.3-8.33.0.1.el8_10 ELSA-2026-69266 Sep 23, 2026
pam_ssh_agent_auth · ol 9 0:0.10.4-9.11.0.1.el9_8 ELSA-2026-69130 Sep 22, 2026
pam_ssh_agent_auth-debuginfo · amzn 2023 0.10.4-10.16.amzn2023.0.1 ALAS2023-2026-3354 Nov 7, 2026
ssh · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.7+esm6 ssh 1:7.6p1-4ubuntu0.7+esm6 Aug 11, 2026
ssh · Ubuntu 20.04 LTS (focal) 1:8.2p1-4ubuntu0.13+esm3 ssh 1:8.2p1-4ubuntu0.13+esm3 Aug 11, 2026
ssh · Ubuntu 22.04.1 LTS (jammy) 1:8.9p1-3ubuntu0.16 ssh 1:8.9p1-3ubuntu0.16 Jul 14, 2026
ssh · Ubuntu 24.04.5 LTS (noble) 1:9.6p1-3ubuntu13.18 ssh 1:9.6p1-3ubuntu13.18 Jul 14, 2026
ssh · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 ssh 1:10.2p1-2ubuntu3.4 Jul 7, 2026
ssh-askpass-gnome · Ubuntu 18.04.6 LTS (bionic) 1:7.6p1-4ubuntu0.7+esm6 ssh-askpass-gnome 1:7.6p1-4ubuntu0.7+esm6 Aug 11, 2026
ssh-askpass-gnome · Ubuntu 20.04 LTS (focal) 1:8.2p1-4ubuntu0.13+esm3 ssh-askpass-gnome 1:8.2p1-4ubuntu0.13+esm3 Aug 11, 2026
ssh-askpass-gnome · Ubuntu 22.04.1 LTS (jammy) 1:8.9p1-3ubuntu0.16 ssh-askpass-gnome 1:8.9p1-3ubuntu0.16 Jul 14, 2026
ssh-askpass-gnome · Ubuntu 24.04.5 LTS (noble) 1:9.6p1-3ubuntu13.18 ssh-askpass-gnome 1:9.6p1-3ubuntu13.18 Jul 14, 2026
ssh-askpass-gnome · Ubuntu 26.04.1 LTS (resolute) 1:10.2p1-2ubuntu3.4 ssh-askpass-gnome 1:10.2p1-2ubuntu3.4 Jul 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.