Code execution via traversed docName API load
Published May 29, 2026 · Updated May 29, 2026
Path traversal and XSS in Trilium Notes before 0.102.2 allow attackers to execute code by inducing import of a malicious ZIP archive. The doc renderer appends an unchecked #docName value to a documentation URL, then jQuery loads a traversed text/plain note as HTML into the Electron DOM. Exploitation requires a user to import the archive with Safe Import enabled and activate its trigger note; nodeIntegration then exposes host command execution.
Summary
What happened
Path traversal and XSS in Trilium Notes before 0.102.2 allow attackers to execute code by inducing import of a malicious ZIP archive. The doc renderer appends an unchecked #docName value to a documentation URL, then jQuery loads a traversed text/plain note as HTML into the Electron DOM. Exploitation requires a user to import the archive with Safe Import enabled and activate its trigger note; nodeIntegration then exposes host command execution.
The record
- CVE
- CVE-2026-45668
- Published
- May 29, 2026
- Updated
- May 29, 2026
- Vendor
- Trilium Next
- Product
- Trilium Notes
- Classifications
- T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 29, 2026CVE publishedPublication date reported by the CVE source.
- May 29, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.102.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-9jjc-cccq-f6rh malicious ZIP proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo