Path traversal in OpenSSH - CVE-2026-59996

 

Path traversal in OpenSSH - CVE-2026-59996

Published: July 15, 2026


Vulnerability identifier: #VU137699
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-59996
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 outside the intended target directory.

The vulnerability exists due to improper path restriction in scp(1) when copying files between two remote destinations. A remote attacker can operate a malicious server to write files outside the intended target directory.


How to mitigate CVE-2026-59996

Install security update from vendor's website.

Sources