Skip to main content
VulnerabilityPublished Updated

CVE-2026-48798: SSH.NET · ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames

Affects SSH.NETSource GCVE Database

0
Compare
Authoritative record:CVE-2026-48798· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 2026.0.0 soon.

Data as of 11 Nov 2026, 23:24 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2026.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.

What to do

Upgrade SSH.NET to 2026.0.0.

Affected software

ProductAffectedFixed in
NuGetSSH.NETAffected
  • <2026.0.0
Fixed in
  • 2026.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in SSH.NET version 2026.0.0. Users should upgrade to this version or later to remediate the vulnerability. Until upgraded, avoid using the vulnerable ScpClient.Download method with untrusted SCP servers. Patch status is confirmed by the vendor advisory indicating the fix in version 2026.0.0.

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.

References

Community reviews

Loading reviews…