{"id":"CVE-2026-48798","revision":"1148864af2c4487eb5698af047bfe2e6","records":[{"revision":"1148864af2c4487eb5698af047bfe2e6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-48798","aliases":[],"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 create or overwrite files anywhere writable by the client process. This issue is fixed in version 2026.0.0.","state":0,"publishedAt":"2026-08-18T14:57:05.059+00:00","modifiedAt":"2026-08-18T15:28:45.711+00:00","affected":[{"ecosystem":"Vendor product","name":"SSH.NET","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sshnet\",\n                    \"product\": \"SSH.NET\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2026.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","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/security/advisories/GHSA-q939-rpr3-3284","https://github.com/sshnet/SSH.NET/commit/600be0de543765995a189b5d7cd4efac5007f3ce","https://github.com/sshnet/SSH.NET/releases/tag/2026.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-48798","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-48798","identifiers":["CVE-2026-48798"]},"retained":false,"historicalAffected":[]}],"coverage":[]}