CVE-2026-53580
published high CVSS 3.1 · 8.1Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TriliumNext | — | Trilium< 0.104.0 | Affected | Not stated | GitHub_M |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TriliumNext | Trilium | < 0.104.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-73 CWE-73: External Control of File Name or Path
- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-552 CWE-552: Files or Directories Accessible to External Parties
References
2Provider assertions
2GitHub_M · cna
Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 370d565b06ad318a93addbc1bc3ee3a934b98a99b4c76da67e86a2109e09dcc1
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record