# 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 attacke…

- Severity: Medium 4.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-07-08T00:04:49.995Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- OpenBSD OpenSSH: before 10.4

## Every score

- mitre: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`

## References

- <https://www.openwall.com/lists/oss-security/2026/07/06/5> (mailing-list, release-notes)
- <https://marc.info/?l=openssh-unix-dev&m=178333966933090&w=2> (release-notes)
- <https://www.openssh.org/releasenotes.html#10.4p1> (release-notes)

## Sources

- CVE List: [CVE-2026-59995](https://www.cve.org/CVERecord?id=CVE-2026-59995), CVE Terms of Use, modified 2026-07-08
- NVD: [CVE-2026-59995](https://nvd.nist.gov/vuln/detail/CVE-2026-59995), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59995 · Whole record: https://cve.day/CVE-2026-59995.json · Rebuilt by cve.day 2026-11-25T22:59:27.338Z
