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

Goal: 1000 CNY · Raised: 1359 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是SSH.NET组织开源的一个针对并行优化的SSH库。 SSH.NET 2026.0.0之前版本存在安全漏洞,该漏洞源于ScpClient.Download方法信任远程SCP服务器返回的文件和目录名,未进行包含验证,可能导致恶意、被入侵或中间人服务器通过../序列或绝对路径创建或覆盖客户端进程可写任意位置的文件。

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
Vulnerability Title
SSH.NET 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SSH.NET是SSH.NET组织开源的一个针对并行优化的SSH库。 SSH.NET 2026.0.0之前版本存在安全漏洞,该漏洞源于ScpClient.Download方法信任远程SCP服务器返回的文件和目录名,未进行包含验证,可能导致恶意、被入侵或中间人服务器通过../序列或绝对路径创建或覆盖客户端进程可写任意位置的文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

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