CVE-2026-59995
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.25% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 16.2% of scored records. A rank, not a probability.
- NVD base score
- 5.4 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-10-25.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-07-08 00:04Z3 MO AGO
- Last updated
- 2026-07-08 12:52Z3 MO AGO
- Reserved
- 2026-07-08
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 4.2)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
- Weaknesses
- Data version
- 5.2
- Document digest
- 58e6aa433042563bb1c0b14fd9a477d95f3539c4647dad8259de8de0876bc014
05 Affected products
06 References
07 Fixed in
AlmaLinux 8
- openssh Fixed in 8.0p1-33.el8_10
- openssh-askpass Fixed in 8.0p1-33.el8_10
- openssh-cavs Fixed in 8.0p1-33.el8_10
- openssh-clients Fixed in 8.0p1-33.el8_10
- openssh-keycat Fixed in 8.0p1-33.el8_10
- openssh-ldap Fixed in 8.0p1-33.el8_10
- openssh-server Fixed in 8.0p1-33.el8_10
- pam_ssh_agent_auth Fixed in 0.10.3-8.33.el8_10
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- openssh Fixed in 9.9p1-11.el9_8.alma.1
- openssh-askpass Fixed in 9.9p1-11.el9_8.alma.1
- openssh-clients Fixed in 9.9p1-11.el9_8.alma.1
- openssh-keycat Fixed in 9.9p1-11.el9_8.alma.1
- openssh-server Fixed in 9.9p1-11.el9_8.alma.1
- pam_ssh_agent_auth Fixed in 0.10.4-8.11.el9_8.alma.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 10
- openssh Fixed in 9.9p1-27.el10_2.alma.1
- openssh-askpass Fixed in 9.9p1-27.el10_2.alma.1
- openssh-clients Fixed in 9.9p1-27.el10_2.alma.1
- openssh-keycat Fixed in 9.9p1-27.el10_2.alma.1
- openssh-keysign Fixed in 9.9p1-27.el10_2.alma.1
- openssh-server Fixed in 9.9p1-27.el10_2.alma.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- openssh Fixed in 8.0p1-33.el8_10
- openssh-askpass Fixed in 8.0p1-33.el8_10
- openssh-cavs Fixed in 8.0p1-33.el8_10
- openssh-clients Fixed in 8.0p1-33.el8_10
- openssh-keycat Fixed in 8.0p1-33.el8_10
- openssh-ldap Fixed in 8.0p1-33.el8_10
- openssh-server Fixed in 8.0p1-33.el8_10
- pam_ssh_agent_auth Fixed in 0.10.3-8.33.el8_10
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- openssh Fixed in 9.9p1-11.el9_8.alma.1
- openssh-askpass Fixed in 9.9p1-11.el9_8.alma.1
- openssh-clients Fixed in 9.9p1-11.el9_8.alma.1
- openssh-keycat Fixed in 9.9p1-11.el9_8.alma.1
- openssh-server Fixed in 9.9p1-11.el9_8.alma.1
- pam_ssh_agent_auth Fixed in 0.10.4-8.11.el9_8.alma.1
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 10
- openssh Fixed in 9.9p1-27.el10_2.alma.1
- openssh-askpass Fixed in 9.9p1-27.el10_2.alma.1
- openssh-clients Fixed in 9.9p1-27.el10_2.alma.1
- openssh-keycat Fixed in 9.9p1-27.el10_2.alma.1
- openssh-keysign Fixed in 9.9p1-27.el10_2.alma.1
- openssh-server Fixed in 9.9p1-27.el10_2.alma.1
Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- openssh No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- openssh No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- openssh Fixed in 1:10.4p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- openssh Fixed in 1:8.9p1-3ubuntu0.16
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- openssh Fixed in 1:9.6p1-3ubuntu13.18
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- openssh No fix yet
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- openssh Fixed in 1:10.2p1-2ubuntu3.4
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- openssh-ssh1 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- openssh Fixed in 1:6.6p1-2ubuntu2.13+esm4Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- openssh Fixed in 1:7.2p2-4ubuntu2.10+esm10Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- openssh Fixed in 1:7.6p1-4ubuntu0.7+esm6Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- openssh Fixed in 1:8.2p1-4ubuntu0.13+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-preview 22.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 20.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 22.04 LTS
- openssh Fixed in 1:8.9p1-3ubuntu0.16+Fips3Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 24.04 LTS
- openssh Fixed in 1:9.6p1-3ubuntu13.18+Fips1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 20.04 LTS
- openssh No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.