CVE-2025-27142

Source
https://cve.org/CVERecord?id=CVE-2025-27142
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27142.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-27142
Aliases
  • GHSA-f7jp-p6j4-3522
Published
2025-02-25T20:03:23.204Z
Modified
2026-04-10T05:24:40.354806Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
LocalSend path traversal vulnerability in the file upload endpoint allows nearby devices to execute arbitrary commands
Details

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.

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

Affected packages

Git / github.com/localsend/localsend

Affected ranges

Type
GIT
Repo
https://github.com/localsend/localsend
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.10.0
v1.11.0
v1.11.1
v1.12.0
v1.13.0
v1.13.0-fdroid
v1.13.1
v1.14.0
v1.15.0
v1.15.1
v1.15.2
v1.15.3
v1.15.4
v1.16.0
v1.16.1
v1.3.1
v1.5.0
v1.5.2
v1.6.1
v1.6.2
v1.8.0
v1.9.0
v1.9.1

Database specific

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