Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious ZIP with payload code note and traversal-labeled trigger note
-
DeliveryDeliver archive to victim via email or shared link
-
ExploitVictim imports archive with safe import enabled
-
Install#docName ../ traversal resolves to payload note API endpoint
-
C2Payload HTML/JS renders in Electron renderer
-
ExecutenodeIntegration grants Node.js APIs
-
ImpactArbitrary code execution on victim host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to use the Trilium desktop (Electron) client at a version below 0.102.2, to import an attacker-supplied ZIP archive through the application's Import feature with safe import enabled, and to subsequently navigate to or trigger the malicious launcher/doc note whose #docName label contains a ../ path-traversal sequence pointing at a payload code note (type: code, mime: text/plain) carrying raw HTML/JavaScript. Full RCE escalation specifically depends on the Electron renderer being configured with nodeIntegration enabled, which is the default for the desktop client; web/server-only deployments without an Electron renderer would face XSS and traversal impact but not direct host code execution. The CVSS UI:A (Active user interaction) and AV:L vector confirm the import-and-trigger user action is mandatory - there is no remote unauthenticated exploitation path. |
| Impact | Signals are mixed and require careful interpretation. The CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:A with high confidentiality, integrity, availability, and subsequent-system impact - note that AV:L (Local) combined with UI:Active reflects that the attacker must deliver a ZIP file and the user must import it with safe import enabled, not that the attacker needs prior local access. EPSS and KEV data are not provided, and there is no public exploit identified at time of analysis, so this is not currently a mass-exploitation candidate. However, the technical impact is severe (full RCE via Electron nodeIntegration) and the social-engineering barrier is low: importing notes is a routine workflow for Trilium users, especially when migrating knowledge bases. Real-world risk is meaningful for targeted attacks against researchers, journalists, or developers who exchange note archives, but lower for typical drive-by exploitation. |
| Exploit ScenarioDerived | An attacker shares what appears to be a useful Trilium knowledge-base archive (e.g., a research notes export) with the victim via email, chat, or a forum. The victim opens Trilium and uses Import with safe import enabled; the archive plants a payload code note containing JavaScript and a launcher/doc note whose #docName label traverses (../) to the payload's API endpoint, executing the script in the Electron renderer with Node.js privileges and yielding shell access on the victim's host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Remote code execution in TriliumNext Trilium Notes desktop client prior to 0.102.2 allows attackers to achieve arbitrary code execution by tricking a user into importing a malicious ZIP archive with safe import enabled. The flaw chains a #docName path traversal (CWE-22) with stored XSS, and the Electron renderer's nodeIntegration=true setting elevates the XSS into full host RCE. No public exploit identified at time of analysis, but the vendor advisory describes a complete working chain and the CVSS 4.0 score of 9.3 reflects subsequent-system impact.
RemediationAI
Upgrade to Trilium 0.102.2 or later, which is the vendor-released patch confirmed in the GitHub Security Advisory GHSA-9jjc-cccq-f6rh (https://github.com/TriliumNext/Trilium/security/advisories/GHSA-9jjc-cccq-f6rh). Until patched, disable the 'safe import' feature and refuse ZIP imports from untrusted sources - the trade-off is loss of the import workflow for legitimate archives. Operators can further reduce blast radius by running the web/server variant rather than the desktop Electron client, since the RCE escalation depends on nodeIntegration=true in the renderer; this trades convenience and offline use for sandbox confinement. Inspect any recently imported archives for code-type notes containing raw HTML/JavaScript and trigger notes carrying #docName labels with ../ sequences.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Trilium is an open-source hierarchical note-taking application built on Electron, with a desktop client whose renderer process is configured with Node.js integration enabled - meaning any JavaScript executing in the renderer can invoke Node APIs (child_process, fs) and break out of the browser sandbox. The vulnerability sits at the intersection of two flaws: a CWE-22 path-traversal weakness in how the #docName label resolves API endpoints (using ../ sequences to redirect to an attacker-supplied payload note), and an XSS sink where a note of type 'code' with mime 'text/plain' has its raw HTML/JavaScript rendered when reached via a 'doc' or 'launcher' trigger note. The affected product per CPE is cpe:2.3:a:triliumnext:trilium up to 0.102.2.
Know when Trilium gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
TriliumNext Trilium Notes desktop client versions prior to 0.102.2 contains a critical remote code execution vulnerability exploitable through a deceptively simple user action-importing a crafted archive file. Organizations using Trilium for note management face immediate risk of complete workstation compromise, enabling attackers to access sensitive documents, steal credentials, and potentially establish persistent network access. The threat is particularly acute because the attack requires only a single user interaction with a malicious file, multiplying attack surface across every employee using the application.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Trilium Notes is an open-source, cross-platform hierarchical note taking application with focus on building large person
Cross-site Scripting (XSS) - Reflected in GitHub repository zadam/trilium prior to 0.52.4, 0.53.1-beta. Rated medium sev
Cross-site Scripting (XSS) - Stored in GitHub repository zadam/trilium prior to 0.59.4. Rated medium severity (CVSS 5.4)
Cross-site Scripting (XSS) - Stored in GitHub repository zadam/trilium prior to 0.53.3. Rated medium severity (CVSS 5.4)
Stored cross-site scripting escalating to remote code execution affects TriliumNext Trilium versions up to and including
Stored cross-site scripting escalating to remote code execution affects TriliumNext Trilium through version 0.103.0, whe
Stored cross-site scripting escalating to remote code execution affects TriliumNext Trilium through version 0.103.0, whe
Remote code execution in Trilium versions prior to 0.104.0 is achievable by exploiting a bypass in the application's Saf
Authentication bypass in Trilium Notes Desktop (Electron build) versions 0.102.1 and earlier allows remote unauthenticat
Arbitrary local file disclosure and denial-of-service exist in Trilium's automatic image-download feature, affecting all
Unauthenticated content exfiltration in Trilium up to 0.103.0 is possible through the public share-search endpoint, whic
Stored XSS-to-RCE chain in Trilium Notes versions 0.102.1 and prior allows a network attacker to execute arbitrary Node.
EUVD-2026-33376
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB