CVE-2026-59996: CWE-23 Relative Path Traversal in OpenBSD OpenSSH
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.
AI Analysis
Technical Summary
CVE-2026-59996 is a relative path traversal vulnerability in the scp component of OpenSSH before version 10.4. When copying files between two remote hosts, scp may incorrectly place files in the parent directory of the intended destination directory. This behavior could lead to unintended file placement, potentially affecting system integrity or file organization. The vulnerability does not impact confidentiality but has limited impact on integrity and availability.
Potential Impact
The vulnerability allows an attacker or user to cause files to be written outside the intended directory, specifically in the parent directory. This could lead to limited integrity issues by overwriting or placing files in unintended locations. There is no impact on confidentiality. The availability impact is low, as it may cause unexpected file placement but not denial of service.
Mitigation Recommendations
No official patch or remediation level has been confirmed or provided by the vendor at this time. Users should upgrade to OpenSSH version 10.4 or later once available, as the vulnerability affects versions prior to 10.4. Until a fix is confirmed, exercise caution when using scp for copying files between two remote destinations. Patch status is not yet confirmed — check the OpenBSD or OpenSSH vendor advisories for current remediation guidance.
CVE-2026-59996: CWE-23 Relative Path Traversal in OpenBSD OpenSSH
Description
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.
CVSS v3.1
Score 4.2medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-59996 is a relative path traversal vulnerability in the scp component of OpenSSH before version 10.4. When copying files between two remote hosts, scp may incorrectly place files in the parent directory of the intended destination directory. This behavior could lead to unintended file placement, potentially affecting system integrity or file organization. The vulnerability does not impact confidentiality but has limited impact on integrity and availability.
Potential Impact
The vulnerability allows an attacker or user to cause files to be written outside the intended directory, specifically in the parent directory. This could lead to limited integrity issues by overwriting or placing files in unintended locations. There is no impact on confidentiality. The availability impact is low, as it may cause unexpected file placement but not denial of service.
Mitigation Recommendations
No official patch or remediation level has been confirmed or provided by the vendor at this time. Users should upgrade to OpenSSH version 10.4 or later once available, as the vulnerability affects versions prior to 10.4. Until a fix is confirmed, exercise caution when using scp for copying files between two remote destinations. Patch status is not yet confirmed — check the OpenBSD or OpenSSH vendor advisories for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-07-08T00:07:07.370Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4da0cec9d9e3dbe333a49b
Added to database: 07/08/2026, 00:58:54 UTC
Last enriched: 07/15/2026, 12:19:25 UTC
Last updated: 08/20/2026, 14:53:13 UTC
Views: 127
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.