JLSEC-2026-2411: In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be...
Platform note (OpenSSHjll):
- Non-Windows: Versions from 9.9.1+0 (the first release shipping sftp) up to but not including 10.6.1+0 are affected. 10.6.1+0 ships the fix in Portable OpenSSH 10.6p1. - Windows: Versions from 9.9.1+0 are affected through 10.6.2+0, the latest release at review time. It repackages Win32-OpenSSH 10.4.0.0p1-Preview, which does not include the fix.
In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be written to unintended locations) during a recursive copy operation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenSSH_jllto a version that resolves this vulnerability.Fixed in 10.6.1+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which OpenSSH_jll installations are affected?
On non-Windows platforms, versions from 9.9.1+0 through versions before 10.6.1+0 are affected. On Windows, versions from 9.9.1+0 through 10.6.2+0 are affected; 10.6.2+0 remains affected because it repackages Win32-OpenSSH 10.4.0.0p1-Preview.
What must an attacker control to exploit this issue?
The attacker must operate or control the SFTP server that the client connects to. Exploitation occurs during a recursive copy operation, when the server causes the client to write files outside the intended destination directory.
Is user interaction required?
Yes. The affected client must connect to the malicious server and perform a recursive copy operation.
What should be done if an immediate update is not possible?
Avoid performing recursive SFTP copies against untrusted or unverified SFTP servers. Restrict such operations to servers whose administration and contents are trusted until a fixed non-Windows release is available; the provided data does not identify a fixed Windows OpenSSH_jll release.