CVE-2026-48798
Beschrijving NL
SSH.NET is een Secure Shell (SSH)-bibliotheek voor .NET. In versie 2025.1.0 en eerder vertrouwt ScpClient.Download(string directoryName, DirectoryInfo directoryInfo) op bestands- en mapnamen die door een externe SCP-server worden geretourneerd en combineert deze met de gevraagde lokale map zonder validatie op basis van de containment-status. Hierdoor kan een kwaadwillende, gecompromitteerde of man-in-the-middle-server ../-sequenties of absolute paden gebruiken om bestanden te maken of te overschrijven op elke locatie waar het clientproces beschrijfbaar is. Dit probleem is opgelost in versie 2026.0.0.
Origineel (Engels) tonen
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.