Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
sshnet SSH.NET
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SSH.NET 是一个用于 .NET 平台的 Secure Shell (SSH) 库。在 2025.1.0 及更早版本中,ScpClient.Download(string directoryName, DirectoryInfo directoryInfo) 方法信任远程 SCP 服务器返回的文件名和目录名,并将其与请求的本地目录路径直接拼接,而未进行路径遍历(containment validation)检查。这可能导致恶意的、已被攻陷的或处于中间人攻击位置的服务器,利用 “../” 序列或绝对路径,在客户端

CVSS 7.1 · High EPSS 0.42% · P35

Affected Version Matrix 1

VendorProduct Version RangeStatus
sshnet SSH.NET < 2026.0.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48798

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sshnet SSH.NET < 2026.0.0 -

II. Public POCs for CVE-2026-48798

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 10274 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-48798

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48798 (1)

Vendor Advisories for CVE-2026-48798 (1)

Vendor Pages for CVE-2026-48798 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48798

No comments yet


Leave a comment