Medium [CVE-2026-59996] `scp` file misplacement vulnerability during remote copy
This medium-severity Red Hat Linux advisory covers CVE-2026-59996 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat Hardened Images.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations. A flaw was found in OpenSSH, a widely used tool for secure remote access.
When a user attempts to copy files between two different remote systems using the `scp` command, the file might be incorrectly placed in a directory above the intended destination. This unintended file placement could lead to data integrity issues or, in some cases, unauthorized access to sensitive information if files are stored in an exposed location.
Conditions for Exploitation: Exploitation requires specific user actions and conditions, as the vulnerability only triggers when a user explicitly initiates a file copy between two remote destinations using the scp command. Impact Limitations: The boundaries of the potential impact are highly contained.
The flaw only results in unintended file placement within the parent directory of the target destination. It does not inherently lead to arbitrary code execution, denial of service, or privilege escalation, and any potential data exposure relies heavily on the existing permissions of the parent directory.
Red Hat Enterprise Linux (RHEL) versions 6, 7, and 8 are not affected by this issue. Red Hat severity: Moderate — CVSS 4.6 (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L).
Weakness: CWE-22.
- < 10.4
Official advisory · high-confidence parse· fetched 1 day ago·verify at source
- openssh-0:9.9p1-25.el10_2
- openssh-0:9.9p1-9.el9_8
- openssh-main-10.4p1-1.hum1
- rhui5/installer-rhel9:1786435483
- rhui5/rhua-rhel9:1786533529
- rhui5/installer-tp-rhel9:1787135742
- rhui5/rhua-tp-rhel9:1787241260
- RHSA-2026:47757
- RHSA-2026:47756
- RHSA-2026:37382
- RHSA-2026:54387
- RHSA-2026:58981
Official advisory · high-confidence parse· fetched 1 day ago·verify at source
Mitigation checklist
- To mitigate this issue, users should avoid performing `scp` operations directly between two remote destinations. Instead, consider copying files from the first remote host to a local machine, and then from the local machine to the second remote host. Alternatively, use `sftp` or `rsync` for remote file transfers, as these utilities are not affected by this specific vulnerability.
Official advisory · high-confidence parse· fetched 1 day ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.