Directory Traversal Vulnerability in SSH.NET by SSH.NET
CVE-2026-48798

7.1HIGH

Key Information:

Vendor

Sshnet

Status
Vendor
CVE Published:
18 August 2026

What is CVE-2026-48798?

SSH.NET, a library for Secure Shell (SSH) connectivity in .NET applications, contains a vulnerability affecting versions 2025.1.0 and earlier. The issue arises in the ScpClient.Download method, which improperly trusts file and directory names returned by a remote SCP server. This oversight allows an attacker on a compromised or malicious SCP server to exploit directory traversal techniques, such as using ../ sequences, to manipulate file paths. Consequently, attackers could create or overwrite files in unintended locations on the client system. The vulnerability has been addressed in version 2026.0.0. Users are strongly encouraged to update to this version to prevent potential exploitation.

Affected Version(s)

SSH.NET < 2026.0.0

References

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.