Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
TriliumNext Trilium
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Trilium Notes是Zadam个人开发者的一个分层笔记应用程序。专注于构建大型个人知识库。 Trilium Notes 0.102.1及之前版本存在路径遍历漏洞,该漏洞源于本地文件,可能导致已认证攻击者从服务器文件系统读取敏感任意文件。uploadModifiedFileToAttachment函数在处理POST请求到/api/attachments/{attachmentId}/upload-modified-file时,将附件内容替换为请求体filePath中指定文件的内容,随后可通过/api

CVSS 6.8 · Medium EPSS 0.62% · P47

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery

Affected Version Matrix 1

VendorProduct Version RangeStatus
TriliumNext Trilium < 0.102.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-35593

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Trilium Notes has Local File Inclusion via upload modified file API endpoint
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Trilium Notes 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Trilium Notes是Zadam个人开发者的一个分层笔记应用程序。专注于构建大型个人知识库。 Trilium Notes 0.102.1及之前版本存在路径遍历漏洞,该漏洞源于本地文件,可能导致已认证攻击者从服务器文件系统读取敏感任意文件。uploadModifiedFileToAttachment函数在处理POST请求到/api/attachments/{attachmentId}/upload-modified-file时,将附件内容替换为请求体filePath中指定文件的内容,随后可通过/api
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
TriliumNext Trilium < 0.102.2 -

II. Public POCs for CVE-2026-35593

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-35593

登录查看更多情报信息。

Vendor Advisories for CVE-2026-35593 (1)

Vendor Pages for CVE-2026-35593 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-35593

No comments yet


Leave a comment