CVE-2026-48798
Published:August 18, 2026
Updated:September 23, 2026
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.
Affected Packages
SSH.NET (DOT_NET):
Affected version(s) >=0.0.0.22332 <2026.0.0Fix Suggestion:
Update to version 2026.0.0https://github.com/sshnet/SSH.NET.git (GITHUB):
Affected version(s) >=2016.0.0 <2026.0.0Fix Suggestion:
Update to version 2026.0.0ssh.net (NUGET):
Affected version(s) >=2011.7.29 <2026.0.0Fix Suggestion:
Update to version 2026.0.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.38