CVE-2026-45668
Trilium Notes versions prior to 0.102.2 are vulnerable to remote code execution when a malicious ZIP archive is imported with safe import enabled. The attack combines a payload note containing raw HTML/JS and a trigger note that uses #docName path traversal to point at the payload, leading to XSS and RCE via the Electron renderer with nodeIntegration enabled. This issue is resolved in version 0.102.2.
An official fix is available, so this entry is kept for 30 days and then removed automatically.
Who is affected
Users of Trilium Notes desktop client running versions earlier than 0.102.2.
Real-world impact
An attacker could achieve arbitrary code execution on the victim's machine by tricking them into importing a specially crafted ZIP file.
Why this severity
The CVSS base score of 9.3 (Critical) reflects the high impact of remote code execution combined with low attack complexity and no required privileges.
What to do about it
- 011. Upgrade Trilium Notes to version 0.102.2 or later.
NVD-referenced vendor advisory
Timeline
- May 29, 2026 · May 29, 2026PublishedDisclosed and added to the National Vulnerability Database.
- Jul 22, 2026 · 13d agoAdvisory updatedThe NVD record was last revised.
- Jul 25, 2026 · 10d agoOfficial fix availableA vendor patch or mitigation now exists — see the remediation steps above.