CVE-2026-48798CWE-22CWE-73path-traversal

CVE-2026-48798

High · published August 18, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
35.4
In the wild
Unconfirmed
What it is

SSH.NET is a Secure Shell (SSH) library for .NET. In 2025.1.0 and earlier, ScpClient.Download(string directoryName, DirectoryInfo directoryInfo) trusts file and directory names returned by a remote SCP server and combines them with the requested local directory without containment validation, allowing a malicious, compromised, or man-in-the-middle server to use ../ sequences or absolute paths to create or overwrite files anywhere writable by the client process. This issue is fixed in version 2026.0.0.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00421 · 35.4th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-73 · External Control of File Name or Path
Published
2026-08-18T19:16Z
References (3)
EPSS history
Timeline
  • 18 AUG 14:57Z
    SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames
    cvelistv5