CVE-2026-45668 Trilium Notes : Note Import to RCE via #docName Path Traversal (Safe Import Enabled)
Attackers can achieve remote code execution in Trilium Notes by importing a malicious ZIP archive that exploits path traversal in note labels.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-45668?
CVE-2026-45668 is a critical path traversal vulnerability in TriliumNext Trilium, published on 29 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Trilium Notes is a cross-platform, hierarchical note taking application focused on building large personal knowledge bases. Prior to 0.102.2, a malicious ZIP archive imported with safe import enabled achieves RCE via #docName path traversal and XSS by combining a payload note (type: code, mime: text/plain) containing raw HTML/JS and a trigger note (type: doc or type: launcher) with a #docName label that uses ../ path traversal to point at the payload note's API endpoint. The desktop client Electron renderer runs with nodeIntegration enabled, so an RCE is triggered once the payload is executed. This vulnerability is fixed in 0.102.2.
Which versions are affected by CVE-2026-45668?
How do I fix CVE-2026-45668?
No fix has been published for CVE-2026-45668 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-45668 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45668 exists.
Sources
Also known as GHSA-9jjc-cccq-f6rh.