CyberRota Analysis
AI-GeneratedThe vulnerability affects the SSH.NET library for .NET, specifically in the ScpClient.Download method, which improperly trusts file and directory names from a remote SCP server. This flaw allows an attacker to exploit directory traversal techniques to create or overwrite files in arbitrary locations on the client’s system, posing a significant risk of unauthorized data manipulation. Organizations using versions 2025.1.0 and earlier should prioritize upgrading to version 2026.0.0 to mitigate this high-severity security risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.