{"id":"CVE-2026-48798","revision":"7654a5b5d0fc466e999466e4b8f21b38","records":[{"revision":"7654a5b5d0fc466e999466e4b8f21b38","observedAt":"2026-10-25T12:17:32.273+00:00","statement":{"source":"nvd","id":"CVE-2026-48798","aliases":[],"title":"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 requ…","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.","state":0,"publishedAt":"2026-08-18T15:16:54.427+00:00","modifiedAt":"2026-10-22T22:10:00.25+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"severity":"HIGH"}],"references":["https://github.com/sshnet/SSH.NET/commit/600be0de543765995a189b5d7cd4efac5007f3ce","https://github.com/sshnet/SSH.NET/releases/tag/2026.0.0","https://github.com/sshnet/SSH.NET/security/advisories/GHSA-q939-rpr3-3284"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-48798","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-22","CWE-73"],"productCriteria":[],"sourceDates":{"published":"2026-08-18T15:16:54.427","lastModified":"2026-10-22T22:10:00.250"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-48798","identifiers":["CVE-2026-48798"]},"retained":false,"historicalAffected":[]}],"coverage":[]}