Skip to main content

Trilium Notes EUVDEUVD-2026-31156

| CVE-2026-39310 HIGH
Improper Access Control (CWE-284)
2026-05-20 GitHub_M
8.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Join shared network segment
  2. Delivery
    nmap scan for high-range Trilium ports
  3. Exploit
    Probe Clipper handshake endpoint
  4. Install
    Confirm Trilium instance and version
  5. C2
    Call /api/clipper/notes unauthenticated
  6. Execute
    Read or inject note content
  7. Impact
    Pivot to phishing or local compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim is running Trilium Desktop (the Electron build, not the server distribution) at version 0.102.1 or earlier, with the Clipper API listening on a network-reachable interface rather than localhost only, and that the attacker shares a routable network path to the victim's machine (same LAN, Wi-Fi segment, or VPN broadcast domain). No credentials, user interaction, CSRF token, or non-default configuration is needed - the auth bypass is the default behavior whenever Electron is detected. Limiting factors: pure server-mode Trilium deployments are not in scope of this bypass logic, and hosts that firewall the Clipper port or bind it to loopback are not reachable.

Impact

The CVSS 8.6 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L) is internally consistent with the description: network-reachable, no authentication, low complexity, with the dominant impact on integrity (note modification) and lesser confidentiality/availability impact. No EPSS score, KEV listing, or public POC was provided, so real-world exploitation pressure cannot be quantified from the supplied data - the practical risk is bounded by attacker network adjacency (corporate LAN, public Wi-Fi, or shared VPN segment) rather than internet-wide scanning, which lowers blast radius compared to a typical AV:N flaw. The handshake endpoint's clean fingerprint response makes mass-scanning trivial once an attacker is on-LAN, so for desktop users on untrusted networks this should be treated as a priority patch rather than a theoretical issue.

Exploit ScenarioDerived

An attacker joins a corporate LAN or public Wi-Fi where a victim is running Trilium Desktop, runs nmap across high ports to find the Clipper listener (e.g. 37840), and hits the handshake endpoint, which responds with the Trilium app name and protocol version even without auth. The attacker then calls /api/clipper/notes to read existing notes or inject attacker-controlled content - for example a phishing lure or a payload that the victim later clicks - achieving data theft and a foothold for follow-on social engineering or local compromise.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 20, 2026

Authentication bypass in Trilium Notes Desktop (Electron build) versions 0.102.1 and earlier allows remote unauthenticated attackers on the same network to access the Clipper API and read or manipulate notes without any credentials. The Electron runtime detection explicitly disables auth middleware on endpoints like /api/clipper/notes and the handshake endpoint, which fingerprints the application - no public exploit identified at time of analysis, but the vendor advisory GHSA-jcvx-vc83-cppw confirms the issue and the fix shipped in 0.102.2.

RemediationAI

Vendor-released patch: upgrade to Trilium 0.102.2 or later (https://github.com/TriliumNext/Trilium/releases/tag/v0.102.2), which restores authentication enforcement on the Clipper API under Electron and adds Electron fuses plus integrity checks per the release notes. If immediate upgrade is not possible, bind the desktop application to localhost only or block inbound TCP to the Clipper port (commonly 37840 and other high ports Trilium selects) at the host firewall - note this will break any LAN-based web-clipper extension workflow. Avoid running Trilium Desktop on untrusted networks (public Wi-Fi, conference networks, shared corporate LANs) until patched; the advisory at https://github.com/TriliumNext/Trilium/security/advisories/GHSA-jcvx-vc83-cppw should be consulted for full guidance.

Affected VersionsENISA

Trilium < 0.102.2

Affected Packages

euvd trilium fix: 0.102.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Trilium Notes is a hierarchical personal knowledge base application built on Node.js with an Electron desktop wrapper (cpe:2.3:a:triliumnext:trilium). The Clipper API is a local HTTP service that normally accepts web-clipper browser-extension submissions; in the desktop build it binds to a high port (e.g. 37840) on all interfaces. The root cause maps to CWE-284 (Improper Access Control): runtime detection of the Electron environment branches around the authentication middleware entirely, so token, password, and CSRF checks are skipped for any caller - not just the local extension. Because the listener is reachable on the LAN rather than localhost-only, the bypass becomes network-exposed.

Know when Trilium gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

1
Patch available
May 20, 2026 - 20:02 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical authentication bypass in Trilium Notes Desktop versions 0.102.1 and earlier exposes user notes to unauthorized access and modification by network-local attackers. The vulnerability directly threatens information confidentiality for users who store sensitive data in this application.

Business Impact: High
Compensating Controls

Apply vendor patch: Upgrade to Trilium Notes Desktop version 0.102.2 or later.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68621 HIGH POC
7.4 Feb 06

Trilium Notes is an open-source, cross-platform hierarchical note taking application with focus on building large person

CVE-2022-2290 MEDIUM POC
6.1 Jul 03

Cross-site Scripting (XSS) - Reflected in GitHub repository zadam/trilium prior to 0.52.4, 0.53.1-beta. Rated medium sev

CVE-2023-3067 MEDIUM POC
5.4 Jun 02

Cross-site Scripting (XSS) - Stored in GitHub repository zadam/trilium prior to 0.59.4. Rated medium severity (CVSS 5.4)

CVE-2022-2365 MEDIUM POC
5.4 Jul 10

Cross-site Scripting (XSS) - Stored in GitHub repository zadam/trilium prior to 0.53.3. Rated medium severity (CVSS 5.4)

CVE-2026-53579 CRITICAL
9.3 Aug 27

Stored cross-site scripting escalating to remote code execution affects TriliumNext Trilium versions up to and including

CVE-2026-53578 CRITICAL
9.3 Aug 27

Stored cross-site scripting escalating to remote code execution affects TriliumNext Trilium through version 0.103.0, whe

CVE-2026-48996 CRITICAL
9.3 Aug 27

Stored cross-site scripting escalating to remote code execution affects TriliumNext Trilium through version 0.103.0, whe

CVE-2026-45668 CRITICAL
9.3 May 29

Remote code execution in TriliumNext Trilium Notes desktop client prior to 0.102.2 allows attackers to achieve arbitrary

CVE-2026-47727 HIGH
8.6 Aug 27

Remote code execution in Trilium versions prior to 0.104.0 is achievable by exploiting a bypass in the application's Saf

CVE-2026-53580 HIGH
8.1 Aug 27

Arbitrary local file disclosure and denial-of-service exist in Trilium's automatic image-download feature, affecting all

CVE-2026-77438 HIGH
7.5 Aug 27

Unauthenticated content exfiltration in Trilium up to 0.103.0 is possible through the public share-search endpoint, whic

CVE-2026-39311 MEDIUM
6.8 May 20

Stored XSS-to-RCE chain in Trilium Notes versions 0.102.1 and prior allows a network attacker to execute arbitrary Node.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy