Vulnerability · Published Jul 8, 2026 · Assigned by mitre

CVE-2026-59995

Medium 4.2

In plain English

A medium-severity security flaw in OpenSSH from OpenBSD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.2Medium
Exploit odds (30 days)0.2%top 83.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssh9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux:8openssh8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:9openssh9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux:10openssh-askpass9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux:8openssh-askpass8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:9openssh-askpass9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux:8openssh-cavs8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:10openssh-clients9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux:8openssh-clients8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:9openssh-clients9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux:10openssh-keycat9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux:8openssh-keycat8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:9openssh-keycat9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux:10openssh-keysign9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux:8openssh-ldap8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:10openssh-server9.9p1-27.el10_2.alma.1ALSA-2026:69129
AlmaLinux:8openssh-server8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:9openssh-server9.9p1-11.el9_8.alma.1ALSA-2026:69130
AlmaLinux:8pam_ssh_agent_auth0.10.3-8.33.el8_10ALSA-2026:69266
AlmaLinux:9pam_ssh_agent_auth0.10.4-8.11.el9_8.alma.1ALSA-2026:69130
Alpine:v3.24openssh10.3_p1-r1ALPINE-CVE-2026-59995
Debian:12opensshno fix listedDEBIAN-CVE-2026-59995
Debian:13opensshno fix listedDEBIAN-CVE-2026-59995
Debian:14openssh1:10.4p1-1DEBIAN-CVE-2026-59995
Rocky Linux:10openssh0:9.9p1-27.el10_2.rocky.0.1RLSA-2026:69129
Rocky Linux:8openssh0:8.0p1-33.el8_10RLSA-2026:69266
Rocky Linux:9openssh0:9.9p1-11.el9_8.rocky.0.1RLSA-2026:69130
Ubuntu:22.04:LTSopenssh1:8.9p1-3ubuntu0.16UBUNTU-CVE-2026-59995
Ubuntu:22.04:LTSopenssh1:8.9p1-3ubuntu0.16USN-8533-1
Ubuntu:24.04:LTSopenssh1:9.6p1-3ubuntu13.18USN-8533-1
Ubuntu:24.04:LTSopenssh1:9.6p1-3ubuntu13.18UBUNTU-CVE-2026-59995
Ubuntu:25.10opensshno fix listedUBUNTU-CVE-2026-59995
Ubuntu:26.04:LTSopenssh1:10.2p1-2ubuntu3.4UBUNTU-CVE-2026-59995
Ubuntu:26.04:LTSopenssh1:10.2p1-2ubuntu3.4USN-8533-1
Ubuntu:22.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2026-59995
Ubuntu:24.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2026-59995
Ubuntu:25.10openssh-ssh1no fix listedUBUNTU-CVE-2026-59995
Ubuntu:26.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2026-59995
Ubuntu:26.10openssh-ssh1no fix listedUBUNTU-CVE-2026-59995

Affected products (as reported)

VendorProductVersions
OpenBSD OpenSSH 0 – before 10.4

Weakness: CWE-23 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

References