cve.bz

CVE-2026-59996 openbsd openssh: Relative Path Traversal

5.4 mediumEPSS 0.2%

Medium (5.4) in openbsd openssh. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-23 Relative Path Traversal
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-59996 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59996?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59996?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59996 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenBSD OpenSSHbefore 10.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13opensshno fix listedDEBIAN-CVE-2026-59996
Debian14openssh1:10.4p1-1DEBIAN-CVE-2026-59996
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreopenssh-ssh1no fix listedUBUNTU-CVE-2026-59996
Ubuntu22.04:LTSopenssh1:8.9p1-3ubuntu0.16UBUNTU-CVE-2026-59996 USN-8533-1
Ubuntu24.04:LTSopenssh1:9.6p1-3ubuntu13.18UBUNTU-CVE-2026-59996 USN-8533-1
Ubuntu25.10openssh, openssh-ssh1no fix listedUBUNTU-CVE-2026-59996
Ubuntu26.04:LTSopenssh1:10.2p1-2ubuntu3.4UBUNTU-CVE-2026-59996 USN-8533-1
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:16.04:LTS, Pro:FIPS-updates:18.04:LTS and 4 moreopensshno fix listedUBUNTU-CVE-2026-59996
UbuntuPro:FIPS-updates:22.04:LTSopenssh1:8.9p1-3ubuntu0.16+Fips3UBUNTU-CVE-2026-59996
UbuntuPro:FIPS-updates:24.04:LTSopenssh1:9.6p1-3ubuntu13.18+Fips1UBUNTU-CVE-2026-59996
Red Hatenterprise_linux:9::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:9.9p1-9.el9_8RHSA-2026:47756
Red Hatenterprise_linux:9::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-7.9.el9_8RHSA-2026:47756
Red Hatenterprise_linux:9::baseosopenssh, openssh-keycat, openssh-server and 8 more0:9.9p1-9.el9_8RHSA-2026:47756
Red Hatenterprise_linux:9::baseospam_ssh_agent_auth-debuginfo0:0.10.4-7.9.el9_8RHSA-2026:47756
Red Hatenterprise_linux:10.2openssh, openssh-keycat, openssh-server and 11 more0:9.9p1-25.el10_2RHSA-2026:47757
Red Hatenterprise_linux_eus:10.0openssh, openssh-keycat, openssh-server and 3 more0:9.9p1-7.el10_0.5RHSA-2026:76748
Red Hathummingbird:1openssh, openssh-keycat, openssh-server and 4 more0:10.4p1-1.hum1RHSA-2026:37382
Red Hatrhel_e4s:9.2::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:8.7p1-30.el9_2.13RHSA-2026:89739
Red Hatrhel_e4s:9.2::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-5.30.el9_2.13RHSA-2026:89739
Red Hatrhel_e4s:9.2::baseosopenssh, openssh-keycat, openssh-server and 8 more0:8.7p1-30.el9_2.13RHSA-2026:89739
Red Hatrhel_e4s:9.2::baseospam_ssh_agent_auth-debuginfo0:0.10.4-5.30.el9_2.13RHSA-2026:89739
Red Hatrhel_e4s:9.4::baseosopenssh-server, openssh-clients0:8.7p1-38.el9_4.10RHSA-2026:76993
3 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Basesystem 15 SP7openssh9.6p1-150600.6.49.1SUSE-SU-2026:3605-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7openssh-askpass-gnome9.6p1-150600.6.49.1SUSE-SU-2026:3605-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6openssh, openssh-askpass-gnome9.6p1-150600.6.49.1SUSE-SU-2026:3605-1
SUSELinux Micro 6.0openssh9.6p1-159998.2.1SUSE-SU-2026:24478-1
SUSELinux Micro 6.1openssh9.6p1-slfo.1.1_7.1SUSE-SU-2026:24382-1
SUSELinux Micro 6.2openssh10.0p2-160000.7.1SUSE-SU-2026:22978-1
openSUSELeap 16.0openssh, openssh-askpass-gnome10.0p2-160000.7.1openSUSE-SU-2026:21477-1
AlmaLinux9openssh, openssh-keycat, openssh-server and 2 more9.9p1-9.el9_8.alma.1ALSA-2026:47756
AlmaLinux9pam_ssh_agent_auth0.10.4-7.9.el9_8.alma.1ALSA-2026:47756
AlmaLinux10openssh, openssh-keycat, openssh-server and 3 more9.9p1-25.el10_2.alma.1ALSA-2026:47757
Rocky Linux9openssh0:9.9p1-9.el9_8.rocky.0.1RLSA-2026:47756
Rocky Linux10openssh0:9.9p1-25.el10_2.rocky.0.1RLSA-2026:47757
Alpinev3.24openssh10.3_p1-r1ALPINE-CVE-2026-59996
Azure Linux3openssh9.8p1-9AZL-92039
Alpaquita23openssh9.1_p1-r13BELL-CVE-2026-59996
Alpaquita25, streamopenssh10.4_p1-r0BELL-CVE-2026-59996
BellSoft Hardened Containers23openssh9.1_p1-r13BELL-CVE-2026-59996
BellSoft Hardened Containers25, streamopenssh10.4_p1-r0BELL-CVE-2026-59996

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Conditions for Exploitation: Exploitation requires specific user actions and conditions, as the vulnerability only triggers when a user explicitly initiates a file copy between two remote destinations using the scp command.

Impact Limitations: The boundaries of the potential impact are highly contained. The flaw only results in unintended file placement within the parent directory of the target destination. It does not inherently lead to arbitrary code execution, denial of service, or privilege escalation, and any potential data exposure relies heavily on the existing permissions of the parent directory.

Red Hat Enterprise Linux (RHEL) versions 6, 7, and 8 are not affected by this issue.

Red Hat's mitigation

To mitigate this issue, users should avoid performing `scp` operations directly between two remote destinations. Instead, consider copying files from the first remote host to a local machine, and then from the local machine to the second remote host. Alternatively, use `sftp` or `rsync` for remote file transfers, as these utilities are not affected by this specific vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openssh-0:9.9p1-25.el10_2Fixed 2026-07-30RHSA-2026:47757
Red Hat Enterprise Linux 10.0 Extended Update Supportopenssh-0:9.9p1-7.el10_0.5Fixed 2026-10-06RHSA-2026:76748
Red Hat Enterprise Linux 9openssh-0:9.9p1-9.el9_8Fixed 2026-07-29RHSA-2026:47756
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsopenssh-0:8.7p1-30.el9_2.13Fixed 2026-10-26RHSA-2026:89739
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsopenssh-0:8.7p1-38.el9_4.10Fixed 2026-10-07RHSA-2026:76993
Red Hat Enterprise Linux 9.6 Extended Update Supportopenssh-0:8.7p1-45.el9_6.5Fixed 2026-10-12RHSA-2026:80513
Red Hat Hardened Imagesopenssh-main-10.4p1-1.hum1Fixed 2026-07-09RHSA-2026:37382
Red Hat OpenShift AI 3.0rhai/base-image-cuda-rhel9:1791818590Fixed 2026-10-14RHSA-2026:82751
Red Hat OpenShift AI 3.0rhai/base-image-cpu-rhel9:1791818589Fixed 2026-10-14RHSA-2026:82761
Red Hat OpenShift AI 3.0rhai/base-image-spyre-rhel9:1791818505Fixed 2026-10-14RHSA-2026:82903
Red Hat OpenShift AI 3.0rhai/base-image-tpu-rhel9:1791818496Fixed 2026-10-14RHSA-2026:82904
Red Hat OpenShift AI 3.0rhai/base-image-rocm-rhel9:1791818502Fixed 2026-10-14RHSA-2026:82914
Red Hat OpenShift AI 3.0rhai/base-image-cpu-rhel9:1793042072Fixed 2026-10-27RHSA-2026:91232
Red Hat OpenShift AI 3.2rhai/base-image-spyre-rhel9:1791818602Fixed 2026-10-14RHSA-2026:82750
Red Hat Enterprise Linux 6opensshNot affected
Red Hat Enterprise Linux 7opensshNot affected
Red Hat Enterprise Linux 8opensshNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred
35 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59996.

Attack patterns (CAPEC)

  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-139 Relative Path Traversal Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON