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.
Published: 2026-07-08
Score: 4.2 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-08T00:04:49.995Z

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

Link: CVE-2026-59995

cve-icon Vulnrichment

No data.

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-08T02:30:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-23

    Relative Path Traversal