Vulnerability · Published May 29, 2026 · Assigned by GitHub_M
CVE-2026-45668Trilium Notes : Note Import to RCE via #docName Path Traversal (Safe Import Enabled)
Critical 9.3
In plain English
A critical-severity path traversal in Trilium from TriliumNext. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| TriliumNext | Trilium | < 0.102.2 |
Weakness: CWE-22, CWE-79 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-9jjc-cccq-f6rh x_refsource_CONFIRM