CVE-2026-45668: Trilium Notes : Note Import to RCE via #docName Path Traversal (Safe Import Enabled)

Published May 29, 2026
·
Updated

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 Software

1 affected component
Trilium Notes Trilium Notes<0.102.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Trilium Notes to a version that resolves this vulnerability.

    Fixed in 0.102.2
  2. Compensating control

    If you cannot upgrade to 0.102.2 immediately, disable Safe Import (Safe Import enabled is required for the described #docName path traversal + XSS chain).

Event History

May 29, 2026
CVE Published
via MITRE·05:18 PM
Data Sourced
via MITRE·05:18 PM
DescriptionWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-45668?

CVE-2026-45668 has a critical severity rating of 9.3.

2

What type of vulnerability is CVE-2026-45668?

CVE-2026-45668 is classified as a Path Traversal and XSS vulnerability.

3

How do I fix CVE-2026-45668?

To fix CVE-2026-45668, update to Trilium Notes version 0.102.2 or later.

4

What impact does CVE-2026-45668 have?

CVE-2026-45668 can lead to remote code execution through a malicious ZIP archive.

5

Is CVE-2026-45668 present in earlier versions of Trilium Notes?

Yes, CVE-2026-45668 exists in all versions of Trilium Notes prior to 0.102.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203