Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53580— Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature

Quick assessment

Affected
TriliumNext Trilium
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Trilium 是一款开源的分层笔记应用。在 0.104.0 版本之前,其“自动下载图片”功能会接受笔记中 标签里的 URL,并在没有任何路径校验的情况下读取所引用的本地文件,这使得任何经过身份验证的用户都可以读取 Trilium 进程有权限访问的任意文件。 当保存文本笔记时,Trilium 会扫描其中的 HTML,查找图片来源并下载所有外部资源。由于 HTML 清理器(sanitizer)将 方案(scheme)列为允许的方案,像 这样的源会直接传入文件系统读取操作,其内容随后被保存为笔记附件,用户即可获取该文件

CVSS 8.1 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53580

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
TriliumNext Trilium < 0.104.0 -

II. Public POCs for CVE-2026-53580

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53580

登录查看更多情报信息。

Patches & Fixes for CVE-2026-53580 (1)

Vendor Advisories for CVE-2026-53580 (1)

Same Patch Batch · TriliumNext · 2026-08-27 · 6 CVEs total

CVE-2026-53578 9.3 CRITICAL Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml
CVE-2026-53579 9.3 CRITICAL Trilium: Note Import to RCE via Book Note
CVE-2026-48996 9.3 CRITICAL Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client
CVE-2026-47727 8.6 HIGH Trilium: RCE via `shareTemplate` relation missing `isDangerous` flag — Safe import bypass
CVE-2026-77438 7.5 HIGH Trilium unauthenticated share-search discloses password-protected and hidden shared notes

IV. Related Vulnerabilities

V. Comments for CVE-2026-53580

No comments yet


Leave a comment