Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59995: CWE-23 Relative Path Traversal in OpenBSD OpenSSH

0
Medium
VulnerabilityCVE-2026-59995cvecve-2026-59995cwe-23
Published: 07/08/2026 (07/08/2026, 00:04:49 UTC)
Source: CVE Database V5
Vendor/Project: OpenBSD
Product: OpenSSH

Description

A relative path traversal vulnerability exists in the sftp component of OpenSSH versions prior to 10.4. This flaw allows an attacker controlling the sftp server to influence the location where files are downloaded when using the command "sftp server:/path .". The vulnerability could lead to limited integrity and availability impacts but does not affect confidentiality.

CVSS v3.1

Score 4.2medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected software

GitHub Actionsmore threats →ai
openssh/openssh
pkg:github/openssh/openssh
Affected versions
<10.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 01:14:11 UTC

Technical Analysis

CVE-2026-59995 is a CWE-23 relative path traversal vulnerability in OpenSSH's sftp client before version 10.4. When a user runs the command "sftp server:/path ." with a malicious or attacker-controlled server, the client does not properly restrict where downloaded files are saved locally. This improper constraint could allow files to be written outside the intended directory, potentially overwriting or corrupting local files. The vulnerability has a CVSS 3.1 base score of 4.2, indicating medium severity, with network attack vector, high attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, low integrity impact, and low availability impact.

Potential Impact

The vulnerability may allow an attacker controlling the sftp server to cause the client to write files to unintended locations on the local system, potentially leading to limited integrity and availability issues such as overwriting or corrupting local files. There is no confidentiality impact reported. No known exploits are currently in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the OpenBSD vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when using sftp with untrusted servers, especially with commands that specify remote paths and local destination directories. Avoid running sftp commands that download files from untrusted servers to local directories without verifying the server's trustworthiness.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-07-08T00:04:49.591Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4da0cec9d9e3dbe333a496

Added to database: 07/08/2026, 00:58:54 UTC

Last enriched: 07/08/2026, 01:14:11 UTC

Last updated: 07/08/2026, 01:14:11 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses