CVE-2026-106552
Description
A flaw was found in OpenSSH. A malicious or compromised server can write files to unintended locations on a client system during a recursive copy operation using the SFTP (Secure File Transfer Protocol) client. By returning crafted file paths, the remote server can trigger a directory traversal and force the client to store files outside the designated destination directory, potentially overwriting existing local files.
Statement
A flaw was found in the OpenSSH sftp client, rated moderate severity by Red Hat Product Security. When a user performs a recursive copy operation from a malicious or compromised SFTP server, the server can return crafted file paths that trigger a directory traversal, causing the sftp client to write files outside the designated destination directory on the local system and potentially overwrite existing files writable by the user running the client. The impact is limited to the integrity and availability of files accessible to the local user: the flaw does not disclose information (confidentiality impact is none) and does not grant privileges beyond those of the local user. Exploitation requires a user to initiate a recursive copy against an attacker-controlled server, which is reflected in Red Hat's CVSS 3.1 score of 4.2 (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L); this is lower than the NIST score of 6.5 mainly because Red Hat assesses high attack complexity and low integrity and availability impacts bounded by the local user's file permissions, whereas NIST rates attack complexity as low and integrity impact as high. Within Red Hat, this flaw affects the openssh component in Red Hat Hardened Images; the fix is being pursued through the delegated Red Hat Hardened Images update process.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.2 | 6.5 | 4.2 |
| Attack Vector | Network | Network | Network |
| Attack Complexity | High | Low | High |
| Privileges Required | None | None | None |
| User Interaction | Required | Required | Required |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | None | None |
| Integrity Impact | Low | High | Low |
| Availability Impact | Low | None | Low |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.