Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-27142

MEDIUM 6.3EPSS 59%

LocalSend path traversal vulnerability in the file upload endpoint allows nearby devices to execute arbitrary commands

Mitigation

  • Upgrade localsend to 1.17.0 or later.

Who should check

  • Anyone running localsend < 1.17.0

Vulnerability facts

Affected
localsend < 1.17.0
Fixed in
localsend 1.17.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.3 (v4.0, CNA)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:UOpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Unreported
EPSS
0.92% chance of exploitation in 30 days (percentile 59, 2026-11-26)
CWE
CWE-22
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
localsend< 1.17.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-27142. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27142.md
Affected: localsend < 1.17.0
Fixed in: localsend 1.17.0

Steps:
1. Search this machine and project for localsend: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-27142 being exploited?

There is no confirmed exploitation: CVE-2025-27142 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-27142?

Medium: CVSS 6.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-27142?

localsend < 1.17.0.

Is there a fix for CVE-2025-27142?

Yes. Fixed in localsend 1.17.0. Upgrade localsend to 1.17.0 or later.

How do I check if I'm affected by CVE-2025-27142?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors