CVEfocus › CVE database › CVE-2026-59995

CVE-2026-59995

CVSS 4.2 MediumEPSS 0.5% (higher than 40% of CVEs)Published 2026-07-08Updated 2026-07-08Assigner: mitre

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.

CWE-23

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

48Fixed
24Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10openssh-ssh1Fix pendingUBUNTU-CVE-2026-59995
Ubuntu 26.04opensshFixed1:10.2p1-2ubuntu3.4UBUNTU-CVE-2026-59995
Ubuntu 26.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2026-59995
Ubuntu 25.10opensshWill not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2026-59995
Ubuntu 25.10openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2026-59995
Ubuntu 24.04opensshFixed1:9.6p1-3ubuntu13.18UBUNTU-CVE-2026-59995
Ubuntu 24.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2026-59995
Ubuntu 22.04opensshFixed1:8.9p1-3ubuntu0.16UBUNTU-CVE-2026-59995
Ubuntu 22.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2026-59995
Ubuntu 20.04opensshFix pending1:8.2p1-4ubuntu0.13+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-59995
Ubuntu 20.04openssh-ssh1Fix pendingUBUNTU-CVE-2026-59995
Ubuntu 18.04opensshFix pending1:7.6p1-4ubuntu0.7+esm6 (Ubuntu Pro)UBUNTU-CVE-2026-59995
Ubuntu 18.04openssh-ssh1Fix pendingUBUNTU-CVE-2026-59995
Ubuntu 16.04opensshFix pending1:7.2p2-4ubuntu2.10+esm10 (Ubuntu Pro)UBUNTU-CVE-2026-59995
Ubuntu 14.04opensshFix pending1:6.6p1-2ubuntu2.13+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-59995
Debian 14opensshFixed1:10.4p1-1DEBIAN-CVE-2026-59995
Debian 13opensshFix pendingDEBIAN-CVE-2026-59995
Debian 12opensshFix pendingDEBIAN-CVE-2026-59995
Red Hat Enterprise Linux 10opensshFixed0:9.9p1-27.el10_2RHSA-2026:69129
Red Hat Enterprise Linux 10openssh-askpassFixed0:9.9p1-27.el10_2RHSA-2026:69129
Red Hat Enterprise Linux 10openssh-clientsFixed0:9.9p1-27.el10_2RHSA-2026:69129
Red Hat Enterprise Linux 10openssh-keycatFixed0:9.9p1-27.el10_2RHSA-2026:69129
Red Hat Enterprise Linux 10openssh-keysignFixed0:9.9p1-27.el10_2RHSA-2026:69129
Red Hat Enterprise Linux 10openssh-serverFixed0:9.9p1-27.el10_2RHSA-2026:69129
Red Hat Enterprise Linux 9opensshFixed0:9.9p1-11.el9_8RHSA-2026:69130
Red Hat Enterprise Linux 9openssh-askpassFixed0:9.9p1-11.el9_8RHSA-2026:69130
Red Hat Enterprise Linux 9openssh-clientsFixed0:9.9p1-11.el9_8RHSA-2026:69130
Red Hat Enterprise Linux 9openssh-keycatFixed0:9.9p1-11.el9_8RHSA-2026:69130
Red Hat Enterprise Linux 9openssh-serverFixed0:9.9p1-11.el9_8RHSA-2026:69130
Red Hat Enterprise Linux 9pam_ssh_agent_authFixed0:0.10.4-8.11.el9_8RHSA-2026:69130
Red Hat Enterprise Linux 8opensshFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8openssh-askpassFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8openssh-cavsFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8openssh-clientsFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8openssh-keycatFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8openssh-ldapFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8openssh-serverFixed0:8.0p1-33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 8pam_ssh_agent_authFixed0:0.10.3-8.33.el8_10RHSA-2026:69266
Red Hat Enterprise Linux 7opensshFix pending
Affected
Red Hat Enterprise Linux 7openssh-askpassFix pending
Affected
Red Hat Enterprise Linux 7openssh-cavsFix pending
Affected
Red Hat Enterprise Linux 7openssh-clientsFix pending
Affected
Red Hat Enterprise Linux 7openssh-keycatFix pending
Affected
Red Hat Enterprise Linux 7openssh-ldapFix pending
Affected
Red Hat Enterprise Linux 7openssh-serverFix pending
Affected
Red Hat Enterprise Linux 7openssh-server-sysvinitFix pending
Affected
Red Hat Enterprise Linux 7pam_ssh_agent_authFix pending
Affected
Red Hat Enterprise Linux 6opensshFix pending
Affected
Red Hat Enterprise Linux 6openssh-askpassFix pending
Affected
Red Hat Enterprise Linux 6openssh-clientsFix pending
Affected
Red Hat Enterprise Linux 6openssh-ldapFix pending
Affected
Red Hat Enterprise Linux 6openssh-serverFix pending
Affected
Red Hat Enterprise Linux 6pam_ssh_agent_authFix pending
Affected
AlmaLinux 10opensshFixed9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux 10openssh-askpassFixed9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux 10openssh-clientsFixed9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux 10openssh-keycatFixed9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux 10openssh-keysignFixed9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux 10openssh-serverFixed9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux 9opensshFixed9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux 9openssh-askpassFixed9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux 9openssh-clientsFixed9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux 9openssh-keycatFixed9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux 9openssh-serverFixed9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux 9pam_ssh_agent_authFixed0.10.4-8.11.el9_8.alma.1ALSA-2026:69130
AlmaLinux 8opensshFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8openssh-askpassFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8openssh-cavsFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8openssh-clientsFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8openssh-keycatFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8openssh-ldapFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8openssh-serverFixed8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux 8pam_ssh_agent_authFixed0.10.3-8.33.el8_10ALSA-2026:69266
Rocky Linux 10opensshFixed0:9.9p1-27.el10_2.rocky.0.1RLSA-2026:69129
Rocky Linux 9opensshFixed0:9.9p1-11.el9_8.rocky.0.1RLSA-2026:69130
Rocky Linux 8opensshFixed0:8.0p1-33.el8_10RLSA-2026:69266
Alpine Linux 3.24opensshFixed10.3_p1-r1ALPINE-CVE-2026-59995

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.