CVE-2026-59995
openssh: OpenSSH: sftp client allows attacker to control downloaded file location
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Weakness: CWE-23
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | <10.4.1+0 | 10.4.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 52 fixes
Azure Linux 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssh | 0:9.8p1-9.azl3 |
Oracle Linux 2 releases · 2 packages
fixed 4
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-8.33.0.1.el8_10 |
| 8 | openssh +6 | 8.0p1-33.0.1.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-9.11.0.1.el9_8 |
| 9 | openssh +4 | 9.9p1-11.0.1.el9_8 |
Photon OS 2 releases · 1 package
fixed 2
openssh
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.9p1-16.ph4 |
| 5.0 | openssh +3 | 10.4p1-1.ph5 |
Red Hat 3 releases · 4 packages
affected 1
investigating 3
fixed 13
openssh
openshift-ose-rhel-coreos-8
pam-ssh-agent-auth
openssh-clients
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openssh +8 | affected | — |
| 7 | openshift-ose-rhel-coreos-8 +1 | investigating | — |
| 8 | openshift-ose-rhel-coreos-8 +1 | investigating | — |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.15.el8_6.6 | RHSA-2026:99592 |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.7.el8_4.4 | RHSA-2026:99573 |
| 8 | pam-ssh-agent-auth | 0:0.10.3-8.33.el8_10 | RHSA-2026:69266 |
11 more rows
SUSE Linux Enterprise 3 releases · 2 packages
fixed 3
openssh8-4
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | openssh8-4 +5 | 8.4p1-8.30.1 | SUSE-SU-2026:4907-1 |
| 15.6 | openssh +7 | 9.6p1-150600.6.49.1 | SUSE-SU-2026:3605-1 |
| 15.7 | openssh +7 | 9.6p1-150600.6.49.1 | SUSE-SU-2026:3605-1 |
SUSE Linux Enterprise Micro 3 releases · 1 package
fixed 3
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | openssh +5 | 9.6p1-159998.2.1 | SUSE-SU-2026:24478-1 |
| 6.1 | openssh +5 | 9.6p1-slfo.1.1_7.1 | SUSE-SU-2026:24382-1 |
| 6.2 | openssh +4 | 10.0p2-160000.7.1 | SUSE-SU-2026:22978-1 |
alma 2 releases · 2 packages
fixed 4
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-8.33.el8_10 |
| 8 | openssh +6 | 8.0p1-33.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-8.11.el9_8.alma.1 |
| 9 | openssh +4 | 9.9p1-11.el9_8.alma.1 |
alpine 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| 3.24 | openssh | 10.3_p1-r1 |
amazon linux 1 release · 2 packages
fixed 2
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in |
|---|---|---|
| 2023 | pam-ssh-agent-auth +1 | 0.10.4-10.16.amzn2023.0.1 |
| 2023 | openssh +10 | 9.9p1-16.amzn2023.0.1 |
debian 4 releases · 1 package
affected 3
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssh | affected |
| 12 | openssh | affected |
| 13 | openssh | affected |
| 14 | openssh | 1:10.4p1-1 |
echo 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:10.4p1-1 |
openSUSE Leap 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | openssh +7 | 10.0p2-160000.7.1 | openSUSE-SU-2026:21477-1 |
rocky 3 releases · 2 packages
fixed 4
openssh
pam-ssh-agent-auth
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssh +3 | 9.9p1-27.el10_2.rocky.0.1 |
| 8 | pam-ssh-agent-auth | 0.10.3-8.33.el8_10 |
| 8 | openssh +5 | 8.0p1-33.el8_10 |
| 9 | openssh +3 | 9.9p1-11.el9_8.rocky.0.1 |
ubuntu 5 releases · 1 package
fixed 5
openssh
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssh | 1:7.6p1-4ubuntu0.7+esm6 |
| 20.04-ESM | openssh | 1:8.2p1-4ubuntu0.13+esm3 |
| 22.04 | openssh | 1:8.9p1-3ubuntu0.16 |
| 24.04 | openssh | 1:9.6p1-3ubuntu13.18 |
| 26.04 | openssh | 1:10.2p1-2ubuntu3.4 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:69130
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:69266
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-59995
- bugzilla.redhat.com https://bugzilla.redhat.com/2497927
- bugzilla.redhat.com https://bugzilla.redhat.com/2497942
- bugzilla.redhat.com https://bugzilla.redhat.com/2514321
- bugzilla.redhat.com https://bugzilla.redhat.com/2514327
- bugzilla.redhat.com https://bugzilla.redhat.com/2514328
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2497927
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2497942
Show all 27 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2514328
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59995
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59999
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-73282
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-69130.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:69266
- github.com https://github.com/advisories/GHSA-2prh-86cw-fm96
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-59995.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-69266.html
- marc.info https://marc.info/?l=openssh-unix-dev&m=178333966933090&w=2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-59995
- ubuntu.com https://ubuntu.com/security/notices/USN-8533-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8804-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-59995
- www.openssh.org https://www.openssh.org/releasenotes.html#10.4p1
- www.openwall.com https://www.openwall.com/lists/oss-security/2026/07/06/5
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.