CVE-2026-59996: CWE-23 Relative Path Traversal in OpenBSD OpenSSH
A relative path traversal vulnerability exists in the scp utility of OpenSSH versions prior to 10.4. This flaw may allow a file to be placed in the parent directory of the intended target directory when copying files between two remote hosts. The vulnerability has a medium severity rating with a CVSS score of 4.2.
AI Analysis
Technical Summary
CVE-2026-59996 describes a CWE-23 relative path traversal vulnerability in the scp component of OpenSSH before version 10.4. When copying files between two remote destinations, scp may incorrectly place a file in the parent directory of the intended directory. This behavior could lead to unintended file placement, potentially impacting system integrity or availability. The vulnerability does not involve confidentiality loss but has limited impact on integrity and availability. No official remediation level or patch information is provided in the available data.
Potential Impact
The vulnerability allows files to be placed outside the intended directory during remote-to-remote copy operations using scp, which may lead to unintended file overwrites or placement in parent directories. This can cause limited integrity and availability impacts but does not affect confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the OpenBSD or OpenSSH vendor advisory for current remediation guidance. Since the vulnerability affects versions prior to 10.4, upgrading to OpenSSH 10.4 or later is recommended once a fix is available. Until then, avoid using scp for remote-to-remote copies or implement alternative secure file transfer methods.
CVE-2026-59996: CWE-23 Relative Path Traversal in OpenBSD OpenSSH
Description
A relative path traversal vulnerability exists in the scp utility of OpenSSH versions prior to 10.4. This flaw may allow a file to be placed in the parent directory of the intended target directory when copying files between two remote hosts. The vulnerability has a medium severity rating with a CVSS score of 4.2.
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 describes a CWE-23 relative path traversal vulnerability in the scp component of OpenSSH before version 10.4. When copying files between two remote destinations, scp may incorrectly place a file in the parent directory of the intended directory. This behavior could lead to unintended file placement, potentially impacting system integrity or availability. The vulnerability does not involve confidentiality loss but has limited impact on integrity and availability. No official remediation level or patch information is provided in the available data.
Potential Impact
The vulnerability allows files to be placed outside the intended directory during remote-to-remote copy operations using scp, which may lead to unintended file overwrites or placement in parent directories. This can cause limited integrity and availability impacts but does not affect confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the OpenBSD or OpenSSH vendor advisory for current remediation guidance. Since the vulnerability affects versions prior to 10.4, upgrading to OpenSSH 10.4 or later is recommended once a fix is available. Until then, avoid using scp for remote-to-remote copies or implement alternative secure file transfer methods.
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/08/2026, 01:14:04 UTC
Last updated: 07/08/2026, 02:16:40 UTC
Views: 6
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.