Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-59995: sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/pa

24
Routine
MEDIUM 4.2WATCHLISTUPGRADE

CVE-2026-59995 is a medium-severity flaw (CVSS 4.2) affecting openssh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score4.2 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 84%)
CISA exploited listNo
WeaknessCWE-23
Published2026-07-08
Last modified2026-10-25
Publisher (CNA): MITRE · Vendor: openbsd

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

openbsd openssh UPGRADE
Affected: < 10.4
Fixed in: 10.4
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy openssh || rpm -q openssh || openssh --version
2. UPGRADE to 10.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade openssh
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade openssh
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-59995?

openssh: upgrade to 10.4. Exact commands for each OS are on this page.

Is CVE-2026-59995 being exploited?

CVE-2026-59995 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-59995 affect?

CVE-2026-59995 affects openssh. Severity is medium (CVSS 4.2). 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.

How urgent is CVE-2026-59995?

Priority 24/100. On your watchlist

Software pages

OpenSSH vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.