CVE-2026-59995

Medium

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.

SeverityMedium
CVSS4.2
Exploit probability—
ProductOpenbsd Openssh
PublishedJul 8, 2026
First seenJul 8, 2026
Weakness typeCWE-23CWE-23

How to fix

Update
  • openbsd openssh10.4 or later

Affected products

ProductAffected versionsFixed in
openbsd opensshv < 10.410.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.