ZeroHour

CVE-2026-77438

moderate

Unauthenticated Information Disclosure in Trilium Notes Public Share Search

CVSS 3.1
7.5 high
EPSS
<1%p15
Published
()
Modified
AI analysis

Trilium Notes, an open-source self-hosted hierarchical note-taking application, fails to enforce per-note access controls in its public share-search endpoint in all versions up to and including 0.103.0. An unauthenticated visitor can submit a search against a shared ancestor note, and the endpoint runs a full-text search across the entire published subtree and returns each matching note's title, share identifier, and hierarchical path without re-checking that note's shareCredentials (password) or shareHiddenFromTree settings. Because the search matches on note content, an attacker can enumerate protected notes and use the endpoint as a boolean oracle that confirms arbitrary substrings, effectively reconstructing the full contents of notes that are supposed to be gated behind a password. Any Trilium deployment running version 0.103.0 or earlier that publishes notes through the public share feature is affected, particularly those relying on per-note passwords or hidden-from-tree flags. No public proof-of-concept or known exploitation has been reported; EPSS puts the 30-day exploitation probability at a low 0.2%, and the issue is not listed in CISA's KEV catalog.

What to do: Upgrade Trilium Notes to version 0.104.0 or later, which re-enforces shareCredentials and shareHiddenFromTree checks in the share-search path. Until patched, avoid publicly sharing subtrees that contain password-protected or hidden notes, or disable the public share feature for sensitive content. After upgrading, verify that the public search endpoint no longer returns titles, paths, or content for password-protected and hidden shared notes.

Affected
Trilium Notes (open-source project) Trilium Notes (hierarchical note-taking application)all versions up to and including 0.103.0 (fixed in 0.104.0)
Estimated exposure
moderateon the order of a few thousand internet-exposed Trilium share instances at most (only deployments that publish notes publicly are materially affected) — Trilium is a self-hosted open-source note-taking application with a modest, primarily personal install base, and only the subset of deployments that use the public note-sharing feature is reachable through the vulnerable endpoint; no…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-200, CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.