CVE-2026-39310 PUBLISHED

Trilium Notes: Authentication Bypass in Clipper API for Electron (Desktop) Builds

Assigner: GitHub_M
Reserved: 06.04.2026 Published: 20.05.2026 Updated: 21.05.2026

Trilium Notes is a cross-platform, hierarchical note taking application focused on building large personal knowledge bases. In versions 0.102.1 and prior, the Clipper API in Trilium Desktop (v0.101.3) allows full authentication bypass when running in an Electron environment. When Trilium detects an Electron environment, it explicitly disables authentication middleware for the Clipper API, exposing endpoints such as /api/clipper/notes to the network with no password, API token, or CSRF protection. An attacker on a shared network (for example, a corporate LAN or public Wi-Fi) can scan for open high-range ports using a tool like nmap, since Trilium often binds to ports such as 37840. Once a candidate port is found, an unauthenticated request to the Clipper handshake endpoint, which also bypasses authentication, confirms a Trilium instance by returning the application name and protocol version. This facilitates unauthorized data access, phishing, and local system compromise. The issue has been fixed in version 0.102.2.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
CVSS Score: 8.6

Product Status

Vendor TriliumNext
Product Trilium
Versions
  • Version < 0.102.2 is affected

References

Problem Types

  • CWE-284: Improper Access Control CWE
  • CWE-306: Missing Authentication for Critical Function CWE