Quick answers
- Is CVE-2026-59995 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-59995 being exploited in the wild.
- How severe is CVE-2026-59995?
- Medium severity, with a CVSS score of 4.2, published 8 July 2026.
- Which products and versions are affected?
- OpenBSD Openssh before 10.4.
- Is there a fix for CVE-2026-59995?
- A patch was published on 2026-07-06: OpenSSH 10.4 released with security fixes. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-59995 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-59995?
- Check whether you run OpenBSD Openssh at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A relative path traversal vulnerability (CWE-23) exists in the OpenSSH sftp client when using the command-line syntax 'sftp server:/path .'. The client fails to properly constrain the download location, allowing an attacker-controlled server to influence the local destination path. An attacker can exploit this by hosting a malicious SFTP server and enticing a user to connect and perform a download, resulting in files being written outside the intended directory. This issue is resolved in OpenSSH version 10.4.
Affected products
- OpenBSD OpenSSH before 10.4
Timeline
- 2026-07-06: patched: OpenSSH 10.4 released with security fixes.
- 2026-07-08: disclosed: CVE-2026-59995 published.