CVE-2026-48798

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductSsh.net
PublishedAug 18, 2026
First seenAug 18, 2026

How to fix

Update
  • SSH.NET2026.0.0 or later

Affected products

ProductAffected versionsFixed in
SSH.NETNuGetv < 2026.0.02026.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.