Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 93%

CVE-2026-45668: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in TriliumNext Trilium

0
Critical
VulnerabilityCVE-2026-45668cvecve-2026-45668cwe-22cwe-79
Published: 05/29/2026 (05/29/2026, 17:18:28 UTC)
Source: CVE Database V5
Vendor/Project: TriliumNext
Product: Trilium

Description

CVE-2026-45668 is a critical path traversal and cross-site scripting (XSS) vulnerability in Trilium Notes versions prior to 0.102.2. A malicious ZIP archive imported with safe import enabled can exploit this flaw by using a crafted #docName label with .. / path traversal to access a payload note containing raw HTML/JS. Because the Electron renderer in the desktop client runs with nodeIntegration enabled, this leads to remote code execution (RCE) when the payload executes. The vulnerability is fixed in version 0.102.2.

CVSS v4.0

Score 9.3critical

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

GitHub Actionsmore threats →ai
triliumnext/Trilium
pkg:github/triliumnext/Trilium
Affected versions
<0.102.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/05/2026, 21:20:54 UTC

Technical Analysis

Trilium Notes before version 0.102.2 is vulnerable to a path traversal (CWE-22) combined with cross-site scripting (CWE-79) that allows remote code execution. The attack involves importing a malicious ZIP archive where a trigger note uses a #docName label with ../ path traversal to reference a payload note containing executable HTML/JS code. The Electron desktop client’s nodeIntegration feature enables execution of this payload, resulting in RCE. This vulnerability has a CVSS 4.0 score of 9.3, indicating critical severity. No known exploits in the wild have been reported. The issue is resolved in version 0.102.2.

Potential Impact

Successful exploitation allows an unauthenticated attacker to achieve remote code execution on the victim's system running the vulnerable Trilium Notes desktop client. This can lead to full compromise of the user's environment where the application is installed. The vulnerability leverages path traversal to bypass directory restrictions and XSS to execute malicious scripts in the context of the Electron renderer with nodeIntegration enabled.

Mitigation Recommendations

Upgrade Trilium Notes to version 0.102.2 or later, where this vulnerability is fixed. Since this is a desktop application and not a cloud service, users must manually apply the update to remediate the issue. Patch status is confirmed by the vendor advisory stating the fix is included in version 0.102.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-12T21:59:25.666Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a19cdf6e29bf47b50fb4799

Added to database: 05/29/2026, 17:33:42 UTC

Last enriched: 06/05/2026, 21:20:54 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 46

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses