CVE-2026-59995
JSON

4.2medium

sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacke…

Severity
4.2medium CVSS:3.1 by mitre
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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

Product or packageVersionsReported by
OpenBSD OpenSSHbefore 10.4CVE List, NVD

All scores

mitre4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Classification

CWE-23

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

sftp en OpenSSH antes de la 10.4 no restringe adecuadamente la ubicación de los archivos descargados cuando se utiliza ’sftp servidor:/ruta .’ con un servidor controlado por un atacante.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59995 changed 2026-07-08CVE Terms of Use
NVDCVE-2026-59995 changed 2026-10-25Public domain