Skip to main content

Trilium Notes EUVDEUVD-2026-67230

| CVE-2026-77438 HIGH
Information Exposure (CWE-200)
2026-08-27 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain public share URL containing ancestorNoteId
  2. Delivery
    Query share-search endpoint without credentials
  3. Exploit
    Observe which protected notes appear in results
  4. Execution
    Iterate substring queries as boolean oracle
  5. Impact
    Reconstruct full protected note content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

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

Exploitation Conditions

Exploitation requires two operator-configured preconditions: (1) the Trilium instance must have the public share feature actively enabled and at least one note subtree published, since sharing is off by default; and (2) the attacker must possess or be able to enumerate a valid ancestorNoteId (the shareId of a published root note), which is typically embedded in any shared URL the operator has distributed. Within those prerequisites, exploitation is fully unauthenticated - no account, session, or credentials on the Trilium instance are required. What limits exploitation: the attack is read-only (no integrity or availability impact); it is confined to the published subtree identified by the supplied ancestor note ID; and the technique requires the attacker to iteratively query substrings to extract content rather than retrieve it in a single request, making bulk exfiltration slower and more detectable in access logs.

Impact

The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) accurately captures the technical severity: no authentication, no special network position, and high confidentiality impact. The oracle attack vector - where an attacker queries successive substrings to reconstruct full note content - meaningfully elevates the practical impact beyond simple title enumeration to complete plaintext exfiltration of credential-protected notes. Real-world priority, however, depends heavily on whether the operator has enabled public sharing and placed sensitive notes within shared subtrees, both of which are deliberate non-default actions. No active exploitation has been confirmed (not listed in CISA KEV), and no public proof-of-concept has been identified. EPSS data was not provided, so automated exploitation probability cannot be compared against the CVSS signal. The combination of a niche self-hosted deployment model and a required operator-configured prerequisite (public sharing enabled) meaningfully narrows the vulnerable population compared to what the raw CVSS score implies - though for any affected deployment that does have shared notes containing sensitive information, the risk is real and the fix is straightforward.

Exploit ScenarioDerived

An attacker discovers a Trilium instance with public sharing enabled - for example by finding a shared note URL published by the operator - and extracts the ancestor note's shareId from the URL. The attacker then issues unauthenticated GET requests to /share/api/notes?ancestorNoteId=<id>&search=<substring>, iterating through character sequences and observing whether credential-protected or hidden notes appear in the JSON response, using the presence or absence of a note title as a one-bit oracle. Through successive queries, the attacker recovers the full content of notes that should require a password to access.

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

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

Alert me

AnalysisAIv1 – Aug 27, 2026

Unauthenticated content exfiltration in Trilium up to 0.103.0 is possible through the public share-search endpoint, which applies authorization only to the ancestor note supplied in the request rather than to each result it returns. Any visitor with HTTP access to the instance can query /share/api/notes to enumerate titles, tree paths, and share identifiers of notes protected by shareCredentials passwords or hidden via shareHiddenFromTree, and can use the endpoint as a boolean substring oracle to iteratively reconstruct the full plaintext of password-gated notes. No public exploit has been identified at time of analysis, and the issue is patched in version 0.104.0.

RemediationAI

Upgrade to Trilium version 0.104.0, which resolves the vulnerability by applying per-note hasCredentialAccess and isVisibleInShareTree checks to every search result before it is returned, matching the authorization logic already present on direct content routes. The fix is documented in the GitHub Security Advisory GHSA-6rxv-6w3q-7mv9 and implemented in commit 49fc7b67d9d49f01833e1ad9712ec83b079f98d2. For deployments that cannot immediately upgrade, the most effective compensating control is to disable public sharing entirely, which eliminates the vulnerable endpoint's attack surface at the cost of all external share functionality. A narrower workaround is to ensure no sensitive notes reside within any publicly shared subtree until patching is complete, but this requires careful auditing of the note tree and carries risk of oversight. There are no other configuration knobs documented that would selectively restrict search scope without disabling sharing.

Affected VersionsENISA

Trilium < 0.104.0

Affected Packages

euvd trilium fix: 0.104.0

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 (CPE: cpe:2.3:a:triliumnext:trilium:*:*:*:*:*:*:*:*) is a self-hosted hierarchical note-taking application that exposes a public share system allowing individual notes or subtrees to be published externally. Per-note access controls are implemented via two note attributes: shareCredentials, which gates access behind HTTP Basic credentials, and shareHiddenFromTree, which hides a note from the share navigation tree. The vulnerable share-search endpoint (/share/api/notes?ancestorNoteId=&search=) executed a full-text search across the entire published subtree after validating only the root ancestor note, never re-applying the per-note shareCredentials or shareHiddenFromTree checks to individual search results before returning them. This is a classic broken object-level authorization failure (CWE-200: Information Exposure), where authorization enforced at the collection level is not replicated at the item level. The fix in commit 49fc7b67 introduces two pure-predicate helpers - hasCredentialAccess() and isVisibleInShareTree() - that filter each search result with the same logic already applied by the direct content routes, and the accompanying test suite explicitly validates that anonymous queries cannot surface either credential-protected or hidden notes.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Endpoint is network-accessible with no credentials required; AC:L because the ancestorNoteId is obtainable from any published share URL; pure confidentiality impact with no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Aug 27, 2026 - 22:03 EUVD
CVE Published
Aug 27, 2026 - 19:52 cve.org
HIGH 7.5

DescriptionCVE.org

Trilium is an open-source hierarchical note-taking application. In versions up to and including 0.103.0, the public share-search endpoint does not enforce the per-note shareCredentials and shareHiddenFromTree controls, allowing an unauthenticated visitor to read the titles, tree paths, and content of protected shared notes. The endpoint authorizes only the ancestor note supplied in the request and then runs a full-text search across the entire published subtree, returning each matching note's title, share identifier, and hierarchical path without re-checking whether that individual note requires a share password or is hidden from the navigation tree. Because the search matches note content, an attacker can enumerate protected notes and use the endpoint as a boolean oracle that confirms arbitrary substrings, recovering the full contents of notes that should be gated behind a password. This issue is fixed in version 0.104.0.

Executive ViewAI

Why It Matters

Trilium note-taking application versions up to 0.103.0 contain an unauthenticated vulnerability allowing external attackers to access and extract protected note content, including information in password-gated notes. Any organization running an internet-facing Trilium instance risks unauthorized disclosure of confidential data stored in shared notes. A patch is available and should be applied immediately.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
self-hosted personal note-taking app, niche community footprint
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.2%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-39310 HIGH
8.6 May 20

Authentication bypass in Trilium Notes Desktop (Electron build) versions 0.102.1 and earlier allows remote unauthenticat

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-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