Trilium Notes has Local File Inclusion via upload modified file API endpoint
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TriliumNext | Trilium | before 0.102.2 | 0.102.2 | Patch available | CNA |
- Trilium VendorTriliumNext Affected before 0.102.2 Fixed in 0.102.2 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:triliumnotes:trilium:*:*:*:*:*:*:*:* | — | — | TriliumNext |
- cpe:2.3:a:triliumnotes:trilium:*:*:*:*:*:*:*:* Versions — — ·TriliumNext
Remediation
- Fix · CNA Trilium (TriliumNext) Fixed in 0.102.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35593
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-11-07 EPSS moved to the 50th–90th percentile
References
More TriliumNext vulnerabilities
- TI-2026-28300 Trilium Notes: Authentication Bypass in Clipper API for Electron (Desktop) Builds CVSS 3.1HIGH 8.6
- TI-2026-36250 Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client CVSS 4.0CRITICAL 9.3
- TI-2026-33410 Trilium Notes : Note Import to RCE via #docName Path Traversal (Safe Import Enabled) CVSS 4.0CRITICAL 9.3
- TI-2026-38639 Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml CVSS 4.0CRITICAL 9.3
- TI-2026-54012 Trilium unauthenticated share-search discloses password-protected and hidden shared notes CVSS 3.1HIGH 7.5
- TI-2026-35228 Code injection in TriliumNext Trilium CVSS 4.0HIGH 8.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences