CVE-2026-59995: sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/pa
CVE-2026-59995 is a medium-severity flaw (CVSS 4.2) affecting openssh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.2 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-23 |
| Published | 2026-07-08 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59995?
openssh: upgrade to 10.4. Exact commands for each OS are on this page.
Is CVE-2026-59995 being exploited?
CVE-2026-59995 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59995 affect?
CVE-2026-59995 affects openssh. Severity is medium (CVSS 4.2). 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.
How urgent is CVE-2026-59995?
Priority 24/100. On your watchlist
Software pages
Related CVEs
- CVE-2026-60002 HIGH 7.7 UPGRADE ssh in OpenSSH before 10.4 can have a use-after-free when a server changes its host key during a key re-exchan
- CVE-2026-60001 MEDIUM 6.5 UPGRADE sshd in OpenSSH before 10.4 does not always honor the minimum authentication delay.
- CVE-2026-60000 LOW 3.7 UPGRADE sshd in OpenSSH before 10.4 allows remote attackers to cause a denial of service (resource consumption from ex
- CVE-2026-59999 MEDIUM 5.9 UPGRADE In sshd in OpenSSH before 10.4, DisableForwarding=yes was supposed to take precedence over PermitTunnel=yes, b
- CVE-2026-59998 MEDIUM 4.8 UPGRADE sshd in OpenSSH before 10.4 has an undocumented security-relevant behavior: GSSAPIStrictAcceptorCheck has no v