๐Ÿ” CVE Alert

CVE-2026-48798

HIGH 7.1

SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames

CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22 CWE-73
Vendor sshnet
Product ssh.net
Published Aug 18, 2026
Last Updated Aug 18, 2026
Stay Ahead of the Next One

Get instant alerts for sshnet ssh.net

Be the first to know when new high vulnerabilities affecting sshnet ssh.net are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

Affected Versions

sshnet / SSH.NET
< 2026.0.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/sshnet/SSH.NET/security/advisories/GHSA-q939-rpr3-3284 github.com: https://github.com/sshnet/SSH.NET/commit/600be0de543765995a189b5d7cd4efac5007f3ce github.com: https://github.com/sshnet/SSH.NET/releases/tag/2026.0.0