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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-27142— LocalSend path traversal vulnerability in the file upload endpoint allows nearby devices to execute arbitrary commands

AI Predicted 8.1 Difficulty: Easy EPSS 0.54% · P43
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-27142

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
LocalSend path traversal vulnerability in the file upload endpoint allows nearby devices to execute arbitrary commands
Source: CVE Program / CVE List V5
Vulnerability Description
LocalSend is a free, open-source app that allows users to securely share files and messages with nearby devices over their local network without needing an internet connection. Prior to version 1.17.0, due to the missing sanitization of the path in the `POST /api/localsend/v2/prepare-upload` and the `POST /api/localsend/v2/upload` endpoint, a malicious file transfer request can write files to the arbitrary location on the system, resulting in the remote command execution. A malicious file transfer request sent by nearby devices can write files into an arbitrary directory. This usually allows command execution via the startup folder on Windows or Bash-related files on Linux. If the user enables the `Quick Save` feature, it will silently write files without explicit user interaction. Version 1.17.0 fixes this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
LocalSend 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LocalSend是LocalSend开源的一个 AirDrop 的开源跨平台替代方案。 LocalSend 1.17.0之前版本存在路径遍历漏洞,该漏洞源于路径清理不足。攻击者利用该漏洞可以远程执行命令。
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

VendorProductAffected VersionsCPESubscribe
localsendlocalsend < 1.17.0 -

II. Public POCs for CVE-2025-27142

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-27142

登录查看更多情报信息。

Patches & Fixes for CVE-2025-27142 (1)

Vendor Advisories for CVE-2025-27142 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-27142

No comments yet


Leave a comment