Skip to content
VulniPulse
Medium5.4Red Hat Linux

CVE-2026-59995: Red Hat sftp client allows attacker to control downloaded file location

This Red Hat advisory covers CVE-2026-59995 in Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions.

Open the Red Hat advisory

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.

AffectedFixed in
< 10.4openssh-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

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
Medium, CVSS 5.4
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, .
CISA KEV
Not listed (catalogue checked )
Source published
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Red Hat LinuxRed Hat Enterprise Linux

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. 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 Enterprise Linux 8; Red Hat Enterprise Linux 9; Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions; Red Hat Enterprise Linux 9.6 Extended Update Support; Red Hat Hardened Images; Red Hat OpenShift AI 3.0; Red Hat OpenShift AI 3.2; Red Hat OpenShift AI 3.3; Red Hat OpenShift AI 3.4; Red Hat OpenShift AI 3.5; Red Hat Update Infrastructure 5; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat OpenShift Container Platform 4.

Affected products named by the advisory: Red Hat package: openssh.

Text from the source record.

How to fix CVE-2026-59995

Upgrade to the first fixed release for your version, shown in the table above.

Vendor 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).

Support dates for the fixed release lines

All end-of-life dates for Red Hat Enterprise Linux

CVE-2026-59995 in other vendors' advisories

Compare every advisory for CVE-2026-59995

CVE-2026-59995 questions

Is CVE-2026-59995 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Red Hat advisory does not report exploitation. That is not proof it is unexploited.

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. The table above lists each version.

How do I fix CVE-2026-59995?

Upgrade to a fixed release Red Hat lists for your version: 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 and 46 more. The advisory's own guidance is above.

How likely is CVE-2026-59995 to be exploited?

FIRST's EPSS model gives it a 0.25% chance of exploitation in the next 30 days (16th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2026-59995?

Red Hat rates it medium, CVSS 5.4 out of 10.

All Red Hat Linux advisories

Get an email when Red Hat RHEL & SELinux publishes the next one.

See Red Hat RHEL & SELinux's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.

Alert me about Red Hat RHEL & SELinux