Files
ssh.net/src
Nadav0077 600be0de54 Reject unsafe server-supplied names in SCP recursive download
A malicious or compromised SCP server could return file or directory names containing
path separators, drive qualifiers, or parent-directory references.
ScpClient.Download(string, DirectoryInfo) combined these into a local path without
validation, allowing writes outside the destination directory. Server-supplied C and D
record names are now validated before being combined into a local path.

Signed-off-by: Nadav0077 <18245584+Nadav0077@users.noreply.github.com>
2026-08-09 18:32:00 +02:00
..
2025-07-12 21:01:57 +02:00