CVE-2026-59995: sftp client allows attacker to control downloaded file location
CVE-2026-59995 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 5.4 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L· base score 4.2, scored by mitreAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: none. Integrity impact: low. Availability impact: low.- Weakness
- CWE-23 Relative Path Traversal
- EPSS
- 0.25% chance of exploitation in the next 30 days (16th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Red Hat: openssh-0:9.9p1-27.el10_2, openssh-0:9.9p1-7.el10_0.5, openssh-0:8.0p1-33.el8_10, openssh-0:9.9p1-11.el9_8, openssh-0:8.7p1-38.el9_4.10, openssh-0:8.7p1-45.el9_6.5 and 44 more in the advisory
- Assigned by
- mitre (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-59995; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2026-59995?
You are affected if you run Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Red Hat: < 10.4 | openssh-0:9.9p1-27.el10_2, openssh-0:9.9p1-7.el10_0.5, openssh-0:8.0p1-33.el8_10, openssh-0:9.9p1-11.el9_8, openssh-0:8.7p1-38.el9_4.10, openssh-0:8.7p1-45.el9_6.5, openssh-main-10.4p1-1.hum1, rhai/base-image-cuda-rhel9:1791818590, rhai/base-image-cpu-rhel9:1791818589, rhai/base-image-spyre-rhel9:1791818505, rhai/base-image-tpu-rhel9:1791818496, rhai/base-image-rocm-rhel9:1791818502, rhai/base-image-spyre-rhel9:1791818602, rhai/base-image-cpu-rhel9:1791818598, rhai/base-image-tpu-rhel9:1791818512, rhai/base-image-cuda-rhel9:1791818587, rhai/base-image-rocm-rhel9:1791818778, rhai/base-image-rocm-rhel9:1791818512, rhai/base-image-tpu-rhel9:1791818782, rhai/base-image-rocm-6.4-rhel9:1791818782, rhai/base-image-cuda-12.9-rhel9:1791818627, rhai/base-image-rocm-7.0-rhel9:1791818790, rhai/base-image-cpu-rhel9:1791818874, rhai/base-image-neuron-rhel9:1791818792, rhai/base-image-cuda-13.0-rhel9:1791818662, rhai/base-image-spyre-rhel9:1791818877, rhai/base-image-neuron-rhel9:1791883722, rhai/base-image-cuda-12.9-rhel9:1791881612, rhai/base-image-cpu-rhel9:1791885618, rhai/base-image-rocm-6.4-rhel9:1791881487, rhai/base-image-spyre-rhel9:1791881732, rhai/base-image-rocm-7.1-rhel9:1791883315, rhai/base-image-gaudi-rhel9:1791881486, rhai/base-image-tpu-rhel9:1791881769, rhai/base-image-cuda-13.0-rhel9:1791885505, rhai/base-image-spyre-rhel9:1791819252, rhai/base-image-gaudi-rhel9:1791818749, rhai/base-image-cpu-rhel9:1791819206, rhai/base-image-neuron-rhel9:1791818979, rhai/base-image-rocm-7.14-rhel9:1791819123, RHSA-2026:69129, RHSA-2026:76748, RHSA-2026:69266, RHSA-2026:69130, RHSA-2026:76993, RHSA-2026:80513, RHSA-2026:37382, RHSA-2026:82751, RHSA-2026:82761, RHSA-2026:82903 |
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.
Text from the CVE.org record (mitre).
How do I fix CVE-2026-59995?
Upgrade to a fixed release named by the vendor:
- Red Hat: openssh-0:9.9p1-27.el10_2, openssh-0:9.9p1-7.el10_0.5, openssh-0:8.0p1-33.el8_10, openssh-0:9.9p1-11.el9_8, openssh-0:8.7p1-38.el9_4.10, openssh-0:8.7p1-45.el9_6.5
- To mitigate this issue, avoid using the `sftp server:/path .` command when connecting to untrusted or potentially malicious SFTP servers. Exercise caution and verify the authenticity of SFTP servers before initiating file transfers, especially when using commands that implicitly define the download destination, and also avoid running SFTP sessions with elevated privileges (such as root). (Red Hat)
Vendor advisories for CVE-2026-59995
NetApp
1 advisory- Advisory severityHigh7.7
High [CVE-2026-59995 +7] July 2026 OpenSSH Vulnerabilities in NetApp Products
NTAP-20260717-0012Source published Source updated
This bulletin covers 8 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
OpenSSH versions prior to 10.4 are susceptible to vulnerabilities which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). ONTAP Select Deploy administration utility: Affected by only CVE-2026-60001. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time. Affected products named by the advisory: Active IQ Unified Manager for VMware vSphere; Brocade Fabric Operating System Firmware; E-Series SANtricity OS Controller Software.
- Affected products in this advisory
- Active IQ Unified Manager for VMware vSphere
- Brocade Fabric Operating System Firmware
- E-Series SANtricity OS Controller Software
- ONTAP Select Deploy administration utility
- Source-reported affected versions
- 10.4
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- ONTAP Select Deploy administration utility: Affected by only CVE-2026-60001.
Palo Alto
1 advisory- Advisory severityUnrated
Advisory [CVE-2025-61984 +16] PAN-SA-2026-0009 Informational Bulletin: Impact assessment of OSS CVEs in Prisma SD-WAN ION
PAN-SA-2026-0009Source published
This bulletin covers 17 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to Prisma SD-WAN ION. While Prisma SD-WAN ION may include the affected OSS package, Prisma SD-WAN ION does not offer any scenarios required for an attacker to successfully exploit these vulnerabilities and is not impacted.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No software updates are required at this time.
Red Hat
1 advisory- Advisory severityMedium5.4
Medium [CVE-2026-59995] sftp client allows attacker to control downloaded file location
CVE-2026-59995Source published Source updated
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. A flaw was found in OpenSSH. The `sftp` client, when used to download files from a malicious server with the 'sftp server:/path.' command, does not properly restrict where those files are saved. This allows an attacker to control the download location, potentially overwriting existing files or placing malicious files in sensitive directories on the client system, which could compromise system integrity. Red Hat severity: Moderate — CVSS 5.4 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L). Weakness: CWE-22. Affected Red Hat products: Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat…
- Affected products in this advisory
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.6 Extended Update Support
11 more entries in the full advisory.
- Source-reported affected versions
- < 10.4
- Source-reported fixed versions
- openssh-0:9.9p1-27.el10_2
- openssh-0:9.9p1-7.el10_0.5
- openssh-0:8.0p1-33.el8_10
- openssh-0:9.9p1-11.el9_8
46 more entries in the full advisory.
- Mitigation guidance
- To mitigate this issue, avoid using the `sftp server:/path .` command when connecting to untrusted or potentially malicious SFTP servers. Exercise caution and verify the authenticity of SFTP servers before initiating file transfers, especially when using commands that implicitly define the download destination, and also avoid running SFTP sessions with elevated privileges (such as root).
References
Timeline
- CVE record published
- CVE record last updated
- First vendor advisory listed by VulniPulse
More NetApp advisories
CVE-2023-52340Aug 16, 2024Linux Kernel Vulnerability in NetApp ProductsCVE-2023-51384Jan 5, 2024January 2024 OpenSSH Vulnerabilities in NetApp ProductsCVE-2026-99288Nov 18, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2023-6237May 31, 2024OpenSSL Vulnerability in NetApp ProductsCVE-2026-53006Nov 20, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-114940Nov 18, 2026Java SE Vulnerability in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.