CVE-2026-35593: Trilium Notes has Local File Inclusion via upload modified file API endpoint

Published May 19, 2026
·
Updated

Trilium Notes is an open-source, cross-platform hierarchical note taking application for building large personal knowledge bases. Versions 0.102.1 and prior are vulnerable to Local File Inclusion, allowing an authenticated attacker to read sensitive arbitrary files from the server's filesystem. The uploadModifiedFileToAttachment function, which is called when a POST request is received to /api/attachments/{attachmentId}/upload-modified-file, replaces the content of the attachment with the content from another file (whose path is provided in filePath of Request body). After which the content of the attachment can be viewed at /api/attachments/{attachmentId}/download. This exposes sensitive system files such as SSH keys, credentials, configs, and OS files, potentially leading to remote code execution and compromise of co-hosted applications. This issue has been fixed in version 0.102.2.

Affected Software

1 affected component
Trilium Trilium Notes<=0.102.1

Event History

May 19, 2026
CVE Published
via MITRE·11:32 PM
Data Sourced
via MITRE·11:32 PM
DescriptionSeverityWeakness
May 20, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-35593?

The severity of CVE-2026-35593 is classified as medium due to its potential for local file inclusion vulnerabilities.

2

How do I fix CVE-2026-35593?

To fix CVE-2026-35593, you should update Trilium Notes to version 0.102.2 or later.

3

What is the impact of CVE-2026-35593 on my system?

CVE-2026-35593 can allow attackers to access sensitive files on the server through local file inclusion.

4

Who is affected by CVE-2026-35593?

CVE-2026-35593 affects all users of Trilium Notes versions 0.102.1 and prior.

5

Is it safe to use Trilium Notes after CVE-2026-35593?

Using Trilium Notes versions 0.102.1 and prior is not safe due to the vulnerability identified in CVE-2026-35593, so an upgrade is necessary.

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