VDB
CVE-2026-59995
CVE-2026-59995
PUBLISHED
CVSS 4.2 MEDIUM
Reported by mitre · Published July 8, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssh-keysign | errata.rockylinux.org | 9.9 |
| openssh-clients | errata.rockylinux.org | 9.9, 8.0 |
| openssh-debugsource | errata.rockylinux.org | 9.9, 8.0 |
| openssh-keycat | errata.rockylinux.org | 9.9 |
| openssh-debuginfo | errata.rockylinux.org | 9.9, 8.0 |
| openssh-askpass | errata.rockylinux.org | 9.9, 8.0 |
| openssh-server-debuginfo | errata.rockylinux.org | 9.9, 8.0 |
| openssh-ldap | errata.rockylinux.org | 8.0 |
| openssh-server | errata.rockylinux.org | 9.9 |
| openssh-keycat-debuginfo | errata.rockylinux.org | 9.9 |
| pam_ssh_agent_auth | errata.rockylinux.org | 0.10.4-8.11.el9 |
| openssh-cavs-debuginfo | errata.rockylinux.org | 8.0 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
CVSS 3.1
4.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenBSD | OpenSSH | 0 |
| amazon:2023 | pam_ssh_agent_auth | 0 |
| amazon:2023 | openssh-sk-dummy | 0 |
| openbsd | openssh | 0 |
| OpenBSD | OpenSSH | 0 |
| amazon:2023 | openssh-clients | 0 |
| alpine | openssh | 0 |
| amazon:2023 | openssh-keycat | 0 |
| amazon:2023 | openssh-server | 0 |
| amazon:2023 | openssh | 0 |
Timeline
- Jul 8, 2026 CVE Published
- Jul 9, 2026 EPSS Score (21 in total, the first dated here)
- Jul 9, 2026 CVE Updated
- Jul 9, 2026 Security Advisory (16 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (16 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-59995
vulnetix vdb fixes CVE-2026-59995
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-59995/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart