Vulnerabilities

CVE-2026-59995

Medium 5.4 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-07-08
Last modified
2026-10-25
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 17 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Openbsd Openssh < 10.4 Affected

Weakness type

  • CWE-23: Relative Path Traversal

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that dir…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities