cve.bz

CVE-2026-59995 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
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.

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-59995 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59995?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59995?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-59995 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-59995
Debian14openssh1:10.4p1-1DEBIAN-CVE-2026-59995
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreopenssh-ssh1no fix listedUBUNTU-CVE-2026-59995
Ubuntu22.04:LTSopenssh1:8.9p1-3ubuntu0.16UBUNTU-CVE-2026-59995 USN-8533-1
Ubuntu24.04:LTSopenssh1:9.6p1-3ubuntu13.18UBUNTU-CVE-2026-59995 USN-8533-1
Ubuntu25.10openssh, openssh-ssh1no fix listedUBUNTU-CVE-2026-59995
Ubuntu26.04:LTSopenssh1:10.2p1-2ubuntu3.4UBUNTU-CVE-2026-59995 USN-8533-1
UbuntuPro:14.04:LTSopenssh1:6.6p1-2ubuntu2.13+esm4UBUNTU-CVE-2026-59995 USN-8804-1
UbuntuPro:16.04:LTSopenssh1:7.2p2-4ubuntu2.10+esm10UBUNTU-CVE-2026-59995 USN-8804-1
UbuntuPro:18.04:LTSopenssh1:7.6p1-4ubuntu0.7+esm6UBUNTU-CVE-2026-59995 USN-8804-1
UbuntuPro:20.04:LTSopenssh1:8.2p1-4ubuntu0.13+esm3UBUNTU-CVE-2026-59995 USN-8804-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-59995
UbuntuPro:FIPS-updates:22.04:LTSopenssh1:8.9p1-3ubuntu0.16+Fips3UBUNTU-CVE-2026-59995
UbuntuPro:FIPS-updates:24.04:LTSopenssh1:9.6p1-3ubuntu13.18+Fips1UBUNTU-CVE-2026-59995
Red Hatenterprise_linux:8::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-33.el8_10RHSA-2026:69266
Red Hatenterprise_linux:8::appstreampam_ssh_agent_auth-debuginfo0:0.10.3-8.33.el8_10RHSA-2026:69266
Red Hatenterprise_linux:8::baseosopenssh, openssh-cavs, openssh-ldap and 11 more0:8.0p1-33.el8_10RHSA-2026:69266
Red Hatenterprise_linux:8::baseospam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.3-8.33.el8_10RHSA-2026:69266
Red Hatenterprise_linux:9::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:9.9p1-11.el9_8RHSA-2026:69130
Red Hatenterprise_linux:9::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-8.11.el9_8RHSA-2026:69130
Red Hatenterprise_linux:9::baseosopenssh, openssh-keycat, openssh-server and 8 more0:9.9p1-11.el9_8RHSA-2026:69130
Red Hatenterprise_linux:9::baseospam_ssh_agent_auth-debuginfo0:0.10.4-8.11.el9_8RHSA-2026:69130
Red Hatenterprise_linux:10.2openssh, openssh-keycat, openssh-server and 11 more0:9.9p1-27.el10_2RHSA-2026:69129
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_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-15.el8_6.6RHSA-2026:99592
10 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 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh8.48.4p1-8.30.1SUSE-SU-2026:4907-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
AlmaLinux8openssh, openssh-cavs, openssh-ldap and 4 more8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux8pam_ssh_agent_auth0.10.3-8.33.el8_10ALSA-2026:69266
AlmaLinux9openssh, openssh-keycat, openssh-server and 2 more9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux9pam_ssh_agent_auth0.10.4-8.11.el9_8.alma.1ALSA-2026:69130
AlmaLinux10openssh, openssh-keycat, openssh-server and 3 more9.9p1-27.el10_2.alma.1ALSA-2026:69129
Rocky Linux8openssh0:8.0p1-33.el8_10RLSA-2026:69266
Rocky Linux9openssh0:9.9p1-11.el9_8.rocky.0.1RLSA-2026:69130
Rocky Linux10openssh0:9.9p1-27.el10_2.rocky.0.1RLSA-2026:69129
Alpinev3.24openssh10.3_p1-r1ALPINE-CVE-2026-59995
Azure Linux3openssh9.8p1-9AZL-92042
Alpaquita23openssh9.1_p1-r13BELL-CVE-2026-59995
Alpaquita25, streamopenssh10.4_p1-r0BELL-CVE-2026-59995
BellSoft Hardened Containers23openssh9.1_p1-r13BELL-CVE-2026-59995
BellSoft Hardened Containers25, streamopenssh10.4_p1-r0BELL-CVE-2026-59995

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 mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openssh-0:9.9p1-27.el10_2Fixed 2026-09-21RHSA-2026:69129
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 8openssh-0:8.0p1-33.el8_10Fixed 2026-09-21RHSA-2026:69266
Red Hat Enterprise Linux 9openssh-0:9.9p1-11.el9_8Fixed 2026-09-21RHSA-2026:69130
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 OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202611041925-0Fixed 2026-11-11RHSA-2026:95745
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202611040941-0Fixed 2026-11-09RHSA-2026:95508
Red Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9:416.94.202611031928-0Fixed 2026-11-09RHSA-2026:95229
Red Hat OpenShift Container Platform 4.17openshift/ose-rhel-coreos-9:417.94.202611061051-0Fixed 2026-11-11RHSA-2026:96282
Red Hat OpenShift Container Platform 4.18openshift/ose-rhel-coreos-9:418.94.202610242013-0Fixed 2026-10-27RHSA-2026:89725
Red Hat OpenShift Container Platform 4.19openshift/ose-rhel-coreos-9:4.19.9.6.202610241701-0Fixed 2026-10-27RHSA-2026:89651
Red Hat OpenShift Container Platform 4.20openshift/ose-rhel-coreos-9:4.20.9.6.202610242033-0Fixed 2026-10-27RHSA-2026:89333
Red Hat OpenShift Container Platform 4.21openshift/ose-rhel-coreos-9:4.21.9.6.202610241345-0Fixed 2026-10-27RHSA-2026:89232
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202610241758-0Fixed 2026-10-27RHSA-2026:89197
Red Hat Enterprise Linux 6opensshAffected
Red Hat Enterprise Linux 7opensshAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Under investigation
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
41 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-59995.

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