Path traversal in OpenSSH - CVE-2026-59995

 

Path traversal in OpenSSH - CVE-2026-59995

Published: July 15, 2026


Vulnerability identifier: #VU137698
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-59995
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenSSH
Affected software:
OpenSSH

Detailed vulnerability description

The vulnerability allows a remote attacker to write files to an unexpected location.

The vulnerability exists due to improper path restriction in sftp(1) when downloading files on the command line using a remote path and a local dot destination. A remote attacker can operate a malicious server to write files to an unexpected location.



How to mitigate CVE-2026-59995

Install security update from vendor's website.

Sources