CVE-2026-53580: CWE-73: External Control of File Name or Path in TriliumNext Trilium
Description
Trilium versions prior to 0.104.0 have a vulnerability in the automatic image-download feature that allows authenticated users to read arbitrary local files via file:// URLs in note img tags. This occurs because the feature accepts file URLs without path validation, enabling disclosure of files readable by the Trilium process. Additionally, referencing unbounded sources like /dev/zero can cause memory exhaustion and crash the server. The issue affects the web UI, ETAPI, web clipper, and note imports and requires only an authenticated session or ETAPI token. The vulnerability is fixed in version 0.104.0.
CVSS v3.1
Score 8.1high
Affected software
TriliumNext
Trilium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TriliumNext's Trilium application versions before 0.104.0 contain an external control of file name or path vulnerability (CWE-73) in its automatic image-download feature. This feature processes file:// URLs in img tags without validating the path, allowing authenticated users to read arbitrary files accessible to the Trilium process by embedding file URLs in notes. The HTML sanitizer permits the file scheme, so file URLs like file:///etc/passwd are read and stored as note attachments. Additionally, referencing unbounded sources such as /dev/zero can cause uncontrolled memory allocation, leading to server crashes (CWE-400). The feature is enabled by default and accessible via multiple interfaces, requiring only authentication or an ETAPI token. The vulnerability is addressed in version 0.104.0.
Potential Impact
An authenticated user can disclose arbitrary local files readable by the Trilium process, potentially exposing sensitive information. The vulnerability also allows denial of service by crashing the server through memory exhaustion when referencing unbounded sources like /dev/zero. The confidentiality and availability of the Trilium service are impacted, with no integrity impact reported.
Mitigation Recommendations
Upgrade to Trilium version 0.104.0 or later, where this vulnerability is fixed. Until then, restrict access to authenticated users and ETAPI tokens carefully to trusted parties. Patch status is confirmed by the vendor advisory indicating the fix in version 0.104.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T19:11:53.484Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a909cf4acd9273b49b2cdd0
Added to database: 08/27/2026, 20:24:20 UTC
Last enriched: 09/08/2026, 10:52:42 UTC
Last updated: 10/11/2026, 06:48:17 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.