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.
CSIRTS triage
- What
- The sftp command in OpenSSH does not properly constrain file download locations when used with an attacker-controlled server.
- Who is affected
- Deployments of OpenSSH before version 10.4 using sftp.
- Urgency
- Remediation is medium urgency as it could lead to unauthorized file access, but no exploitation has been reported.
- Action
- Upgrade to OpenSSH version 10.4 or later.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch OpenSSH
Get an email when a new OpenSSH advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-59995
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-599950.22% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 12% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-59995 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
Recent advisories for sftp in OpenSSH
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- mediumCVE-2026-59997: internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line argument…nvd · 2026-07-08
- mediumCVE-2026-59995: sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when …nvd · 2026-07-08
- mediumCVE-2026-59997: internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line argument…msrc · 2026-07-02
More from Microsoft Security Response Center
- highCVE-2026-12064: proto-default skips SSH verification2026-07-02
- unknownCVE-2026-14125: Chromium: CVE-2026-14125 Uninitialized Use in ANGLE2026-07-02
- mediumCVE-2026-57987: Microsoft Edge (Chromium-based) Spoofing Vulnerability2026-07-02
- unknownCVE-2026-13775: Chromium: CVE-2026-13775 Use after free in GPU2026-07-02
- unknownCVE-2026-13779: Chromium: CVE-2026-13779 Use after free in Chromoting2026-07-02