Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to malicious/compromised SFTP server
-
DeliveryVictim initiates recursive copy (get -r)
-
ExploitServer returns crafted traversal filenames
-
ExecutionClient writes files outside target directory
-
ImpactOverwrite or plant files on victim host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
|
| Exploitation Conditions | Exploitation requires the victim's sftp client to perform a recursive copy operation (e.g., 'get -r' or 'put -r') while connected to an attacker-controlled or compromised SFTP server; the malicious server supplies crafted path/filename entries containing traversal components that the client fails to sanitize, writing files to unintended locations. Limiting factors: the attacker must control the remote server the victim trusts and connects to (not a flaw in an exposed listening service), the victim must actively initiate a recursive transfer (UI:R), and the overall complexity is High (AC:H). This affects default-configured sftp clients at versions before 10.6 but is not triggerable without the recursive operation and a hostile server. |
| Impact | This is a genuinely low-to-moderate priority issue despite affecting ubiquitous software, and the signals are consistent rather than conflicting. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L, base 4.2) is a server-to-client attack: a malicious or compromised SFTP server manipulates a victim running a recursive copy, not a remotely exploitable server flaw. AC:H and UI:R are the key dampeners - the attacker must control the server the victim connects to AND the victim must initiate a recursive transfer, which sharply limits mass or opportunistic exploitation. No EPSS score was provided, there is no CISA KEV listing, and no public exploit code was referenced, so exploitation status is 'no public exploit identified at time of analysis.' The sole reference is the vendor release notes (openssh.org 10.6), which confirms the fix exists but provides no SSVC exploitation/automatable/technical-impact data - those decision inputs are MISSING. The confidentiality impact is explicitly None (C:N); impact is limited to integrity and availability of the client's filesystem (I:L/A:L) via files landing in unintended locations. Bottom line: ubiquitous product footprint, but low real-world risk driven by high attack complexity, required user action, and a malicious-server precondition. |
| Exploit ScenarioDerived | An attacker stands up or compromises an SFTP server and entices a victim to download files from it (e.g., a mirror, shared drop, or man-in-the-middle on an untrusted network). When the victim runs a recursive copy such as 'sftp get -r', the server returns crafted filenames containing path-traversal sequences, causing the client to write files outside the intended destination directory - potentially overwriting local files. No public exploit code is referenced, and attack complexity is High. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Directory traversal in the OpenSSH sftp client before 10.6 can cause files to be written to unintended locations when a user performs a recursive copy operation against an attacker-controlled or compromised SFTP server. Exploitation requires the victim to initiate a recursive transfer such as get -r or put -r, and the malicious server supplies crafted path/filename entries containing traversal components; this is a client-side trust issue, not a flaw in an exposed sshd service. No public exploit identified at time of analysis, and the assessed CVSS 3.1 score is 4.2 with high attack complexity and user interaction required.
RemediationAI
Upgrade to OpenSSH 10.6 or later, as indicated by the OpenSSH 10.6 release notes at https://www.openssh.org/releasenotes.html#10.6; this is the vendor-released fix for the traversal in sftp recursive copy. If immediate patching is not possible, avoid recursive sftp operations (get -r or put -r) against servers that are not fully trusted, since non-recursive transfers do not trigger the described path sanitization failure; the trade-off is loss of recursive batch convenience. Restrict sftp client use to trusted, controlled SFTP servers and verify local destination paths after transfers; this reduces exposure to a hostile server but does not correct the client if a trusted server is compromised. Where policy permits, use a different patched SFTP client or a wrapper that validates remote filenames before writing; this requires testing and may introduce compatibility overhead.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is CWE-23 (Relative Path Traversal) in OpenSSH's sftp client implementation before version 10.6. The CPE cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* identifies OpenBSD OpenSSH across affected versions; the flaw is triggered during recursive SFTP copy operations, where the client processes file and directory names from the remote server and fails to sanitize traversal sequences before writing to local paths. Although the CVSS vector AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L means network reachable, no privileges required (PR:N), high complexity, and requiring user interaction, the exploit path depends on the user connecting to a malicious SFTP server and invoking a recursive get/put. The referenced OpenSSH 10.6 release notes document the fix.
Know when Openssh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Malicious server attacks a client over the network (AV:N) only when the user runs a recursive copy (UI:R) and controls the server (AC:H); impact is limited file write, so C:N/I:L/A:L.
Primary rating from Vendor (mitre).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remot
OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. Rated medium se
sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static
The kbdint_next_device function in auth2-chall.c in sshd in OpenSSH through 6.9 does not properly restrict the processin
The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password a
Password authentication bypass in OpenSSH sshd before 10.6p2 built against musl libc without PAM lets a remote, unauthen
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. Rated medium severity (CVSS 6.8), this
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2 allows remote serv
Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to
EUVD-2026-93994
GHSA-695p-3q57-gff4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB