CVE-2026-59996: Medium severity OpenSSH OpenSSH vulnerability

Published Jul 8, 2026
·
Updated

Last updated 13 July 2026

Other sources

scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations.

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

    Fixed in 10.4
  4. Compensating control

    Ensure scp copies are not performed between two remote destinations on affected OpenSSH versions (<10.4) to prevent the parent-directory write condition.

Event History

Jul 8, 2026
CVE Published
via MITRE·12:07 AM
Data Sourced
via MITRE·12:07 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 15, 2026
Data Sourced
via Ubuntu·02:24 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·02:25 PM
DescriptionAffected Software
Data Sourced
via Launchpad·02:25 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-59996?

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

2

How do I fix CVE-2026-59996?

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

3

What does CVE-2026-59996 affect?

CVE-2026-59996 affects the scp command in OpenSSH versions prior to 10.4.

4

What is the risk associated with CVE-2026-59996?

The risk associated with CVE-2026-59996 is classified as medium, rated at 28.

5

Could CVE-2026-59996 lead to unauthorized file access?

Yes, CVE-2026-59996 could potentially lead to unauthorized file access by placing files in unexpected parent directories.

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