CVE-2026-59995

openssh: OpenSSH: sftp client allows attacker to control downloaded file location

Published Jul 8, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
Description
sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8533-1 OpenSSH vulnerabilities
Ubuntu USN Ubuntu USN USN-8804-1 OpenSSH vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title openssh: OpenSSH: sftp client allows attacker to control downloaded file location
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Description sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-23
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 8, 2026, 12:52 PM
Reserved
Jul 8, 2026, 12:04 AM
Status
Analyzed
Published
Jul 8, 2026, 1:16 AM
Modified
Oct 25, 2026, 8:10 PM
Severity
Moderate
Public date
Jul 8, 2026, 12:04 AM