CVE-2026-48798

Source
https://cve.org/CVERecord?id=CVE-2026-48798
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48798.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-48798
Aliases
Published
2026-08-18T14:57:05Z
Modified
2026-08-20T03:54:22Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L CVSS Calculator
Summary
SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22",
        "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48798.json"
}
References

Affected packages

Git / github.com/sshnet/ssh.net

Affected ranges

Type
GIT
Repo
https://github.com/sshnet/ssh.net
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2026.0.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

2016.*
2016.1.0
2023.*
2023.0.0
2023.0.1
2024.*
2024.0.0
2024.1.0
2024.2.0
2025.*
2025.0.0
2025.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48798.json"