CVE-2026-59995: Medium severity OpenSSH OpenSSH vulnerability

Published Jul 8, 2026
·
Updated

Last updated 22 September 2026

Other sources

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.

— MITRE

Affected Software

40 affected componentsFixes available
OpenSSH OpenSSH<10.4
OpenBSD OpenSSH<10.4
Microsoft azl3 openssh 9.8p1-8<9.8p1-9
9.8p1-9
IBM AIX<=7.2
IBM AIX<=7.3
IBM PowerVM VIOS<=4.1
F5 BIG-IP Next CNF>=2.3.0<=2.3.2, >=2.2.0<=2.2.3
2.3.32.2.4
F5 BIG-IP Next CNF
F5 BIG-IP Next for Kubernetes>=2.3.0<=2.3.2, >=2.2.0<=2.2.3
2.3.32.2.4
F5 BIG-IP=21.1.0
F5 BIG-IP>=17.5.0<=17.5.1, >=17.1.0<=17.1.3
F5 BIG-IQ Centralized Management>=8.4.0<=8.4.2
F5 F5OS=2.0.0
2.0.03
F5 F5OS-A>=1.8.0<=1.8.4, >=1.5.1<=1.5.4
1.8.431.5.43
F5 F5OS-C>=1.8.0<=1.8.2
1.8.23
debian/openssh<=1:9.2p1-2+deb12u10, <=1:9.2p1-2+deb12u9, <=1:10.0p1-7+deb13u4, <=1:10.0p1-7+deb13u2
1:10.4p1-1
ubuntu/openssh<1:6.6p1-2ubuntu2.13+esm4
1:6.6p1-2ubuntu2.13+esm4
ubuntu/openssh<1:7.2p2-4ubuntu2.10+esm10
1:7.2p2-4ubuntu2.10+esm10
ubuntu/openssh*
ubuntu/openssh*
ubuntu/openssh<1:7.6p1-4ubuntu0.7+esm6
1:7.6p1-4ubuntu0.7+esm6
ubuntu/openssh-ssh1*
ubuntu/openssh*
ubuntu/openssh*
ubuntu/openssh<1:8.2p1-4ubuntu0.13+esm3
1:8.2p1-4ubuntu0.13+esm3
ubuntu/openssh-ssh1*
ubuntu/openssh*
ubuntu/openssh*
ubuntu/openssh<1:8.9p1-3ubuntu0.16
1:8.9p1-3ubuntu0.16
ubuntu/openssh-ssh1*
ubuntu/openssh*
ubuntu/openssh<1:8.9p1-3ubuntu0.16+Fips3
1:8.9p1-3ubuntu0.16+Fips3
ubuntu/openssh<1:9.6p1-3ubuntu13.18
1:9.6p1-3ubuntu13.18
ubuntu/openssh-ssh1*
ubuntu/openssh<1:9.6p1-3ubuntu13.18+Fips1
1:9.6p1-3ubuntu13.18+Fips1
ubuntu/openssh*
ubuntu/openssh-ssh1*
ubuntu/openssh-ssh1*
ubuntu/openssh<1:10.2p1-2ubuntu3.4
1:10.2p1-2ubuntu3.4
ubuntu/openssh-ssh1*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.8p1-9
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.3.3Fixed in 2.2.4
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.0.0Fixed in 3
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.4Fixed in 3Fixed in 1.5.4Fixed in 3
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.2Fixed in 3
  6. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:10.4p1-1
  7. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:6.6p1-2ubuntu2.13+esm4
  8. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:7.2p2-4ubuntu2.10+esm10
  9. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:7.6p1-4ubuntu0.7+esm6
  10. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.2p1-4ubuntu0.13+esm3
  11. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.9p1-3ubuntu0.16
  12. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.9p1-3ubuntu0.16+Fips3
  13. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:9.6p1-3ubuntu13.18
  14. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:9.6p1-3ubuntu13.18+Fips1
  15. Upgrade

    Upgrade ubuntu/openssh to a version that resolves this vulnerability.

    Fixed in 1:10.2p1-2ubuntu3.4
  16. Upgrade

    Upgrade OpenSSH to a version that resolves this vulnerability.

    Fixed in 10.4

Event History

Jul 8, 2026
CVE Published
via MITRE·12:04 AM
Data Sourced
via MITRE·12:04 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·01:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness
Jul 9, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·05:14 PM
Affected Software
Updated
via NVD·05:14 PM
Severity
Event
via NVD·05:14 PM
Aug 15, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Oct 26, 2026
Advisory Published
via F5·10:53 PM
Data Sourced
via F5·10:53 PM
DescriptionSeverityWeaknessAffected Software
Updated
via F5·10:53 PM
SeverityAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-59995?

CVE-2026-59995 has a medium severity rating of 4.2.

2

How do I fix CVE-2026-59995?

To fix CVE-2026-59995, upgrade OpenSSH to version 10.4 or later.

3

What are the potential risks associated with CVE-2026-59995?

CVE-2026-59995 may allow an attacker to manipulate the location of downloaded files, leading to potential unauthorized access or data exposure.

4

Which versions of OpenSSH are affected by CVE-2026-59995?

OpenSSH versions before 10.4 are affected by CVE-2026-59995.

5

What impact does CVE-2026-59995 have on file downloads?

CVE-2026-59995 can cause improper constraints on file downloads, potentially allowing an attacker to control where files are saved.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203