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.

Project Subscriptions

Vendors Products
Openbsd Subscribe
Openssh Subscribe
Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8533-1 OpenSSH vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 08 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 08 Jul 2026 12:15:00 +0000

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


Wed, 08 Jul 2026 01:00:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-08T12:52:35.500Z

Reserved: 2026-07-08T00:04:49.591Z

Link: CVE-2026-59995

cve-icon Vulnrichment

Updated: 2026-07-08T12:52:31.698Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T00:04:49Z

Links: CVE-2026-59995 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:45:03Z

Weaknesses