CVE-2026-59995: Medium severity OpenSSH OpenSSH vulnerability

Published Jul 8, 2026
·
Updated

Last updated 13 July 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

4 affected componentsFixes available
OpenSSH OpenSSH<10.4
OpenBSD OpenSSH<10.4
Microsoft azl3 openssh 9.8p1-8<9.8p1-9
9.8p1-9
debian/openssh<=1:8.4p1-5+deb11u3, <=1:8.4p1-5+deb11u7, <=1:9.2p1-2+deb12u10, <=1:9.2p1-2+deb12u9, <=1:10.0p1-7+deb13u4, <=1:10.0p1-7+deb13u2, <=1:10.3p1-5
1:10.4p1-1

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 debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:10.4p1-1
  3. Upgrade

    Upgrade OpenSSH sftp 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 NVD·01:16 AM
DescriptionSeverityWeaknessAffected Software
Jul 9, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Jul 13, 2026
Data Sourced
via Ubuntu·02:21 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·02:23 PM
DescriptionAffected Software
Data Sourced
via Launchpad·02:23 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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