CVE-2026-48798

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.
Configurations

No configuration.

History

22 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) SSH.NET es una biblioteca Secure Shell (SSH) para .NET. En las versiones 2025.1.0 y anteriores, ScpClient.Download(string directoryName, DirectoryInfo directoryInfo) confía en los nombres de archivo y directorio devueltos por un servidor SCP remoto y los combina con el directorio local solicitado sin validación de contención, permitiendo que un servidor malicioso, comprometido o man-in-the-middle utilice secuencias .. / o rutas absolutas para crear o sobrescribir archivos en cualquier lugar donde el proceso del cliente tenga permisos de escritura. Este problema se ha solucionado en la versión 2026.0.0.

Information

Published : 2026-08-18 15:16

Updated : 2026-10-22 22:10


NVD link : CVE-2026-48798

Mitre link : CVE-2026-48798

CVE.ORG link : CVE-2026-48798


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73

External Control of File Name or Path