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.
CVE-2026-59995
Score 4.2 from GitHub Security Advisory published 2026-07-08. NVD baseline CVSS 5.4; sources differ by 1.2.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.4
- EG Score
- 4.2(medium)
- EPSS
- 12.2%
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 9, 2026
Advisory Details (3)
Auto-updated Jul 8, 2026oss-security - Announce: OpenSSH 10.4 released
https://www.openwall.com/lists/oss-security/2026/07/06/5'Announce: OpenSSH 10.4 released' - MARC
https://marc.info/?l=openssh-unix-dev&m=178333966933090&w=2Vendor Advisories for CVE-2026-59995(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-59995Microsoft Security Response Center (MSRC)Medium
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.
- RHSA-2026:37382Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- GHSA-2prh-86cw-fm96GitHub Security AdvisoriesMedium
sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when ...
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | openssh-main-10.4p1-1.hum1 | 2026-07-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 17× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 07:45 UTCEG score recompute
- 2026-07-11 07:45 UTCVendor advisory
- 2026-07-11 07:45 UTCGHSA enrichment
- 2026-07-10 05:30 UTCEG score recompute
- 2026-07-10 05:30 UTCVendor advisory
- 2026-07-10 05:30 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 17:53 UTCNVD updateCVSS v3 → 5.4
- 2026-07-09 03:13 UTCEG score recompute
- 2026-07-09 03:13 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 00:55 UTCEG score recompute
- 2026-07-08 00:55 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-59995?
When was CVE-2026-59995 disclosed?
Is CVE-2026-59995 actively exploited?
What is the CVSS score of CVE-2026-59995?
How do I remediate CVE-2026-59995?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59995
Is Your Infrastructure Affected by CVE-2026-59995?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.