Katalog CVE

CVE-2026-53580

WysokieCVSS 8.1
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Trilium, przed wersją 0.104.0, ma podatność w automatycznym pobieraniu obrazów. Funkcja akceptuje adresy file:// w tagach img notatek i odczytuje wskazany plik lokalny bez walidacji ścieżki, co pozwala uwierzytelnionemu użytkownikowi ujawnić dowolne pliki czytelne dla procesu Trilium. Dodatkowo, wskazanie nieograniczonego źródła, takiego jak /dev/zero, powoduje niekontrolowaną alokację pamięci i awarię serwera. Problem naprawiono w wersji 0.104.0.

Ocena ryzyka

Ryzyko obejmuje ujawnienie poufnych plików oraz możliwość spowodowania awarii serwera (DoS) przez uwierzytelnionego użytkownika.

Rekomendacja

Zaleca się aktualizację Trilium do wersji 0.104.0 lub nowszej oraz rozważenie wyłączenia automatycznego pobierania obrazów, jeśli nie jest wymagane.

Oryginalny opis (angielski, źródło NVD)

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

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS