1. CVE archive
  2. 2025
  3. CVE-2025-54792

CVE-2025-54792

6.8 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N 6.8 – Medium

Description

LocalSend is an open-source app to securely share files and messages with nearby devices over local networks without needing an internet connection. In versions 1.16.1 and below, a critical Man-in-the-Middle (MitM) vulnerability in the software's discovery protocol allows an unauthenticated attacker on the same local network to impersonate legitimate devices, silently intercepting, reading, and modifying any file transfer. This can be used to steal sensitive data or inject malware, like ransomware, into files shared between trusted users. The attack is hardly detectable and easy to implement, posing a severe and immediate security risk. This issue was fixed in version 1.17.0.

Affected products

VendorProductVersionPlatform
localsend localsend < 1.17.0 –

Vulnerability type

CWE-300 Channel Accessible by Non-Endpoint

The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Access Control Read Application Data, Modify Application Data, Gain Privileges or Assume Identity
There can be misplaced trust in the entity at the other end of the channel. An attacker can interpose between the communicating entities and masquerade as the original entity. In the absence of sufficient verification of identity, such an attacker can eavesdrop and potentially modify the communication between the original entities.

How to prevent it

Implementation In order to establish secure communication between two parties, it is often important to adequately verify the identity of entities at each end of the communication channel. Always fully authenticate both ends of any communications channel.
Architecture and Design Adhere to the principle of complete mediation.
Implementation A certificate binds an identity to a cryptographic key to authenticate a communicating party. Often, the certificate takes the encrypted form of the hash of the identity of the subject, the public key, and information such as time of issue or expiration using the issuer's private key. The certificate can be validated by deciphering the certificate with the issuer's public key. See also X.509 certificate signature chains and the PGP certification structure.

All 45 CWE-300 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org