High severity7.1NVD Advisory· Published Aug 18, 2026· Updated Sep 18, 2026
CVE-2026-48798
CVE-2026-48798
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
SSH.NETNuGet | < 2026.0.0 | 2026.0.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-q939-rpr3-3284ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-48798ghsaADVISORY
- github.com/sshnet/SSH.NET/commit/600be0de543765995a189b5d7cd4efac5007f3cenvdWEB
- github.com/sshnet/SSH.NET/releases/tag/2026.0.0nvdWEB
- github.com/sshnet/SSH.NET/security/advisories/GHSA-q939-rpr3-3284nvdWEB
News mentions
0No linked articles in our index yet.