๐Ÿ” CVE Alert

CVE-2026-35593

MEDIUM 6.8

Trilium Notes has Local File Inclusion via upload modified file API endpoint

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22 CWE-73
Vendor triliumnext
Product trilium
Published May 19, 2026
Last Updated May 20, 2026
Stay Ahead of the Next One

Get instant alerts for triliumnext trilium

Be the first to know when new medium vulnerabilities affecting triliumnext trilium are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

TriliumNext / Trilium
< 0.102.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/TriliumNext/Trilium/security/advisories/GHSA-hf4x-22rg-pjjp github.com: https://github.com/TriliumNext/Trilium/releases/tag/v0.102.2