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.

PackageEcosystemFixed in
openssh-keysignerrata.rockylinux.org9.9
openssh-clientserrata.rockylinux.org9.9, 8.0
openssh-debugsourceerrata.rockylinux.org9.9, 8.0
openssh-keycaterrata.rockylinux.org9.9
openssh-debuginfoerrata.rockylinux.org9.9, 8.0
openssh-askpasserrata.rockylinux.org9.9, 8.0
openssh-server-debuginfoerrata.rockylinux.org9.9, 8.0
openssh-ldaperrata.rockylinux.org8.0
openssh-servererrata.rockylinux.org9.9
openssh-keycat-debuginfoerrata.rockylinux.org9.9
pam_ssh_agent_autherrata.rockylinux.org0.10.4-8.11.el9
openssh-cavs-debuginfoerrata.rockylinux.org8.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

VendorProductVersions
OpenBSDOpenSSH0
amazon:2023pam_ssh_agent_auth0
amazon:2023openssh-sk-dummy0
openbsdopenssh0
OpenBSDOpenSSH0
amazon:2023openssh-clients0
alpineopenssh0
amazon:2023openssh-keycat0
amazon:2023openssh-server0
amazon:2023openssh0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›