Remote Code Execution and XSS in Trilium Notes by Trilium Labs
CVE-2026-45668
9.3CRITICAL
What is CVE-2026-45668?
Trilium Notes, a cross-platform hierarchical note-taking application, is susceptible to remote code execution (RCE) and cross-site scripting (XSS) vulnerabilities. Prior to version 0.102.2, an attacker could exploit a malicious ZIP archive with safe import enabled. This exploit utilized a combination of path traversal techniques and crafted payload notes, which when executed in the Electron renderer (with nodeIntegration enabled), allowed for unauthorized access to the application’s API and the execution of arbitrary code. Users are encouraged to update to the latest version to mitigate these security risks.
Affected Version(s)
Trilium < 0.102.2
