File Download Vulnerability in OpenSSH SFTP from Attacker-Controlled Servers

4.2MEDIUM

CVE-2026-59995

Key Information:

Vendor

OpenBSD

Status
CVE ID
CVE ID:
CVE-2026-59995
Vendor
CVE Published:
8 July 2026
Fixed in
Fixed in:
10.4

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
OpenSSH 0 to below 10.4 is vulnerable
Install OpenSSH 10.4 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach OpenSSH. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (4.2).

What is CVE-2026-59995?

A vulnerability exists in the SFTP component of OpenSSH prior to version 10.4 that potentially allows an attacker to exploit the file download functionality. Specifically, when using the command 'sftp server:/path .', the application does not adequately restrict the locations of the downloaded files if sourced from an attacker-controlled server. This could lead to unauthorized file access or overwriting of sensitive files, which poses a significant risk to the integrity and security of data managed by affected systems.

References

Password Authentication Bypass in OpenSSH on Linux Systems Using Musl libc

CVE-2026-123158
OpenBSDOpensshπŸ˜„πŸ‘Ύ8.1HIGH

Vulnerability in OpenSSH

CVE-2026-35414
OpenBSDOpensshπŸ‘Ύ4.2MEDIUM

Vulnerability in OpenSSH

CVE-2025-61984
OpenBSDOpensshπŸ˜„πŸ‘Ύ3.6LOW
View more OpenBSD vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
4.2
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.