CVEfocus › CVE database › CVE-2026-59996

CVE-2026-59996

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

scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations.

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, 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

31Fixed
5Fix pending
5Will not fix
23Not affected

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-59996
Ubuntu 26.04opensshFixed1:10.2p1-2ubuntu3.4UBUNTU-CVE-2026-59996
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-59996
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-59996
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-59996
Ubuntu 24.04opensshFixed1:9.6p1-3ubuntu13.18UBUNTU-CVE-2026-59996
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-59996
Ubuntu 22.04opensshFixed1:8.9p1-3ubuntu0.16UBUNTU-CVE-2026-59996
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-59996
Ubuntu 20.04openssh-ssh1Fix pendingUBUNTU-CVE-2026-59996
Ubuntu 18.04openssh-ssh1Fix pendingUBUNTU-CVE-2026-59996
Debian 14opensshFixed1:10.4p1-1DEBIAN-CVE-2026-59996
Debian 13opensshFix pendingDEBIAN-CVE-2026-59996
Debian 12opensshFix pendingDEBIAN-CVE-2026-59996
Red Hat Enterprise Linux 10opensshFixed0:9.9p1-25.el10_2RHSA-2026:47757
Red Hat Enterprise Linux 10openssh-askpassFixed0:9.9p1-25.el10_2RHSA-2026:47757
Red Hat Enterprise Linux 10openssh-clientsFixed0:9.9p1-25.el10_2RHSA-2026:47757
Red Hat Enterprise Linux 10openssh-keycatFixed0:9.9p1-25.el10_2RHSA-2026:47757
Red Hat Enterprise Linux 10openssh-keysignFixed0:9.9p1-25.el10_2RHSA-2026:47757
Red Hat Enterprise Linux 10openssh-serverFixed0:9.9p1-25.el10_2RHSA-2026:47757
Red Hat Enterprise Linux 9opensshFixed0:9.9p1-9.el9_8RHSA-2026:47756
Red Hat Enterprise Linux 9openssh-askpassFixed0:9.9p1-9.el9_8RHSA-2026:47756
Red Hat Enterprise Linux 9openssh-clientsFixed0:9.9p1-9.el9_8RHSA-2026:47756
Red Hat Enterprise Linux 9openssh-keycatFixed0:9.9p1-9.el9_8RHSA-2026:47756
Red Hat Enterprise Linux 9openssh-serverFixed0:9.9p1-9.el9_8RHSA-2026:47756
Red Hat Enterprise Linux 9pam_ssh_agent_authFixed0:0.10.4-7.9.el9_8RHSA-2026:47756
Red Hat Enterprise Linux 8opensshNot affected
Red Hat Enterprise Linux 8openssh-askpassNot affected
Red Hat Enterprise Linux 8openssh-cavsNot affected
Red Hat Enterprise Linux 8openssh-clientsNot affected
Red Hat Enterprise Linux 8openssh-keycatNot affected
Red Hat Enterprise Linux 8openssh-ldapNot affected
Red Hat Enterprise Linux 8openssh-serverNot affected
Red Hat Enterprise Linux 8pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 7opensshNot affected
Red Hat Enterprise Linux 7openssh-askpassNot affected
Red Hat Enterprise Linux 7openssh-cavsNot affected
Red Hat Enterprise Linux 7openssh-clientsNot affected
Red Hat Enterprise Linux 7openssh-keycatNot affected
Red Hat Enterprise Linux 7openssh-ldapNot affected
Red Hat Enterprise Linux 7openssh-serverNot affected
Red Hat Enterprise Linux 7openssh-server-sysvinitNot affected
Red Hat Enterprise Linux 7pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 6opensshNot affected
Red Hat Enterprise Linux 6openssh-askpassNot affected
Red Hat Enterprise Linux 6openssh-clientsNot affected
Red Hat Enterprise Linux 6openssh-ldapNot affected
Red Hat Enterprise Linux 6openssh-serverNot affected
Red Hat Enterprise Linux 6pam_ssh_agent_authNot affected
AlmaLinux 10opensshFixed9.9p1-25.el10_2.alma.1ALSA-2026:47757
AlmaLinux 10openssh-askpassFixed9.9p1-25.el10_2.alma.1ALSA-2026:47757
AlmaLinux 10openssh-clientsFixed9.9p1-25.el10_2.alma.1ALSA-2026:47757
AlmaLinux 10openssh-keycatFixed9.9p1-25.el10_2.alma.1ALSA-2026:47757
AlmaLinux 10openssh-keysignFixed9.9p1-25.el10_2.alma.1ALSA-2026:47757
AlmaLinux 10openssh-serverFixed9.9p1-25.el10_2.alma.1ALSA-2026:47757
AlmaLinux 9opensshFixed9.9p1-9.el9_8.alma.1ALSA-2026:47756
AlmaLinux 9openssh-askpassFixed9.9p1-9.el9_8.alma.1ALSA-2026:47756
AlmaLinux 9openssh-clientsFixed9.9p1-9.el9_8.alma.1ALSA-2026:47756
AlmaLinux 9openssh-keycatFixed9.9p1-9.el9_8.alma.1ALSA-2026:47756
AlmaLinux 9openssh-serverFixed9.9p1-9.el9_8.alma.1ALSA-2026:47756
AlmaLinux 9pam_ssh_agent_authFixed0.10.4-7.9.el9_8.alma.1ALSA-2026:47756
Rocky Linux 10opensshFixed0:9.9p1-25.el10_2.rocky.0.1RLSA-2026:47757
Rocky Linux 9opensshFixed0:9.9p1-9.el9_8.rocky.0.1RLSA-2026:47756
Alpine Linux 3.24opensshFixed10.3_p1-r1ALPINE-CVE-2026-59996

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.