CVE-2026-77438

Trilium unauthenticated share-search discloses password-protected and hidden shared notes

Published Aug 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Trilium's share-search endpoint fails to enforce per-note shareCredentials and shareHiddenFromTree settings, allowing unauthenticated users to request any note within a shared subtree. The response includes each matching note's title, share identifier, and hierarchical path, even if the individual note requires a password or is hidden. This flaw can be exploited as an oracle to confirm substrings and recover full contents of protected notes, exposing confidential information. The vulnerability is caused by improper authorization (CWE‑863) and information disclosure (CWE‑200).

Affected Systems

Affected vendor TriliumNext provides the Trilium application. Versions up to and including 0.103.0 contain the flaw. The issue was fixed with the release of 0.104.0.

Risk and Exploitability

With a CVSS score of 7.5, the flaw is considered high severity, and the EPSS score is not currently available, so exploitation likelihood cannot be quantified. The vulnerability is not included in the CISA KEV catalog. The attack vector is an unauthenticated request to the public share-search endpoint; no prior authentication or elevated privileges are required. An attacker can supply arbitrary search queries to enumerate protected notes and reconstruct their contents, potentially exposing sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Trilium to version 0.104.0 or later to apply the fix.
  • If immediate upgrade is not possible, restrict or disable the public share-search endpoint for unauthenticated users.
  • Enforce share passwords on protected notes and verify that the hidden-from-tree setting is correctly applied; audit existing notes to ensure no unintended exposure.

Generated by OpenCVE AI on August 28, 2026 at 07:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Triliumnotes
Triliumnotes trilium
CPEs cpe:2.3:a:triliumnotes:trilium:*:*:*:*:*:*:*:*
Vendors & Products Triliumnotes
Triliumnotes trilium
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Triliumnext
Triliumnext trilium
Vendors & Products Triliumnext
Triliumnext trilium
Type Values Removed Values Added
Description 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.
Title Trilium unauthenticated share-search discloses password-protected and hidden shared notes
Weaknesses CWE-200
CWE-863
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 28, 2026, 3:35 PM
Reserved
Aug 20, 2026, 7:59 PM
Status
Analyzed
Published
Aug 27, 2026, 8:18 PM
Modified
Oct 14, 2026, 3:36 PM