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
openbsd: openssh
References3
- marc.info/?l=openssh-unix-dev&m=178333966933090&w=2 Release Notes
- www.openssh.org/releasenotes.html#10.4p1 Release Notes
- www.openwall.com/lists/oss-security/2026/07/06/5 Mailing ListRelease Notes
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - EPSS — exploit probability
- 0% percentile: 17 · as of 15 November 2026
- CWE
- CWE-23
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.