{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-48798","id":"CVE-2026-48798","title":"SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames","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 c","descriptionLong":"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.","published":"2026-08-18T14:57:05.059Z","updated":"2026-10-28T02:30:23.545438774Z","reserved":"2026-05-22T20:18:20.366Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["sshnet SSH.NET"],"affectedProducts":[{"vendor":"sshnet","product":"SSH.NET","defaultStatus":null,"versions":[{"version":"< 2026.0.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"SSH.NET","purl":"pkg:nuget/SSH.NET","ranges":["<2026.0.0"],"fixed":["2026.0.0"],"advisory":"GHSA-q939-rpr3-3284"}],"cwes":["CWE-22","CWE-73"],"aliases":["GHSA-q939-rpr3-3284"],"references":[{"url":"https://github.com/sshnet/SSH.NET/security/advisories/GHSA-q939-rpr3-3284","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/sshnet/SSH.NET/commit/600be0de543765995a189b5d7cd4efac5007f3ce","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/sshnet/SSH.NET/releases/tag/2026.0.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48798.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48798","tags":["advisory"]},{"url":"https://github.com/sshnet/SSH.NET","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00421,"epssPercentile":0.3717,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-48798","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48798","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-48798","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q939-rpr3-3284","ok":true,"note":"GHSA-q939-rpr3-3284"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-48798","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}