Description
Trilium is an open-source hierarchical note-taking application. In versions prior to 0.104.0, the automatic image-download feature accepts file:// URLs in a note's img tags and reads the referenced local file with no path validation, allowing any authenticated user to disclose arbitrary files readable by the Trilium process. When a text note is saved, Trilium scans its HTML for image sources and downloads each external one; because the HTML sanitizer keeps file as an allowed scheme, a source such as file:///etc/passwd is passed straight to a filesystem read and its contents are stored as a note attachment the user can then retrieve. Pointing the same primitive at an unbounded source such as /dev/zero causes uncontrolled memory allocation that crashes the server process. The feature is enabled by default and is reachable through the web UI, the ETAPI, the web clipper, and note imports, requiring only an authenticated session or an ETAPI token. This issue is fixed in version 0.104.0
Published: 2026-08-27
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Trilium’s automatic image-download feature accepts file:// URLs inside note img tags and, without validating the path, reads any local file reachable by the Trilium process. This allows an authenticated user to retrieve arbitrary file contents by saving the note, which is stored as an attachment, or to trigger a denial‑of‑service by pointing the source at an unbounded file such as /dev/zero, causing uncontrolled memory allocation and server crash. The flaw is a result of CWE‑400, CWE‑552, and CWE‑73 weaknesses in the sanitizer and file access logic.

Affected Systems

Vulnerable versions are all releases of Trilium prior to 0.104.0. In affected installations the flaw can be triggered via the web UI, the ETAPI, the web clipper, or note imports, requiring only an authenticated session or an API token. No version after 0.104.0 is known to be affected.

Risk and Exploitability

The vulnerability scores a CVSS of 8.1, indicating high severity. The EPSS score is unavailable, so exploitation likelihood is uncertain, and the flaw is not listed in CISA’s KEV catalog. Because an attacker must have an authenticated session to exploit the issue, the risk is limited to trusted users or compromised accounts; however the potential for data exposure and DoS remains significant for any affected deployment.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Trilium to version 0.104.0 or newer
  • Disable the automatic image-download feature to prevent unintended file access
  • Restrict file:// URLs and the sanitizer so only trusted users can import notes and use the web clipper

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
First Time appeared Triliumnext
Triliumnext trilium
Vendors & Products Triliumnext
Triliumnext trilium

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Trilium is an open-source hierarchical note-taking application. In versions prior to 0.104.0, the automatic image-download feature accepts file:// URLs in a note's img tags and reads the referenced local file with no path validation, allowing any authenticated user to disclose arbitrary files readable by the Trilium process. When a text note is saved, Trilium scans its HTML for image sources and downloads each external one; because the HTML sanitizer keeps file as an allowed scheme, a source such as file:///etc/passwd is passed straight to a filesystem read and its contents are stored as a note attachment the user can then retrieve. Pointing the same primitive at an unbounded source such as /dev/zero causes uncontrolled memory allocation that crashes the server process. The feature is enabled by default and is reachable through the web UI, the ETAPI, the web clipper, and note imports, requiring only an authenticated session or an ETAPI token. This issue is fixed in version 0.104.0
Title Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature
Weaknesses CWE-400
CWE-552
CWE-73
References
Metrics cvssV3_1

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


Subscriptions

Triliumnext Trilium
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T19:46:12.357Z

Reserved: 2026-06-09T19:11:53.484Z

Link: CVE-2026-53580

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:49.153

Modified: 2026-08-27T20:17:49.153

Link: CVE-2026-53580

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T07:15:05Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-552

    Files or Directories Accessible to External Parties

  • CWE-73

    External Control of File Name or Path