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.
- CVSS
- 5.4Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jul 8, 2026
- In the news
- Not yet
What to do
A moderate security flaw in OpenBSD OpenSSH that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 10.4
Affected versions
- OpenBSD OpenSSH
- Before 10.4
Description
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.
Affected products
Get alerts for these →Timeline 15
Latest change: Tenable Container Security plugin 483028: Alpine: multiple openssh packages: security update to 10.3_p1-r1 (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
Mon, Nov 16, 2026
Thu, Nov 12, 2026
- DetectionNessus plugin 379602: RHEL 8 : openssh (RHSA-2026:99592)Tenable
- DetectionNessus plugin 379611: RHEL 8 : openssh (RHSA-2026:99573)Tenable
Sat, Nov 7, 2026
Fri, Nov 6, 2026
Fri, Oct 30, 2026
Tue, Oct 27, 2026
Mon, Oct 26, 2026
Wed, Jul 8, 2026
- CVECVE-2026-59995 published (CVSS 5.4)CVE Program · 01:16 UTC
References 3
- marc.info /?l=openssh-unix-dev&m=178333966933090&w=2
- www.openssh.org /releasenotes.html#10.4p1
- www.openwall.com /lists/oss-security/2026/07/06/5