A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45668

CVE-2026-45668: Trilium Notes RCE Vulnerability

CVE-2026-45668 is a remote code execution flaw in Trilium Notes that exploits ZIP imports with path traversal and XSS. This post covers the technical details, affected versions, security impact, and mitigation steps.

Published: June 4, 2026

CVE-2026-45668 Overview

CVE-2026-45668 affects Trilium Notes, a cross-platform hierarchical note-taking application used for building personal knowledge bases. Versions prior to 0.102.2 are vulnerable to remote code execution through a crafted ZIP archive imported with safe import enabled. The flaw combines path traversal [CWE-22] and cross-site scripting to execute arbitrary code in the desktop Electron renderer, which runs with nodeIntegration enabled. The vulnerability is fixed in version 0.102.2.

Critical Impact

Importing a malicious ZIP archive into Trilium Notes triggers RCE on the desktop client through path traversal and XSS in an Electron renderer with nodeIntegration enabled.

Affected Products

  • Trilium Notes desktop client versions prior to 0.102.2
  • Installations with safe import enabled
  • Electron-based deployments where nodeIntegration is enabled in the renderer

Discovery Timeline

  • 2026-05-29 - CVE-2026-45668 published to NVD
  • 2026-06-01 - Last updated in NVD database

Technical Details for CVE-2026-45668

Vulnerability Analysis

The vulnerability chains two issues into a single exploit path during ZIP import. An attacker crafts an archive containing two cooperating notes. The first is a payload note of type code with mime text/plain that carries raw HTML and JavaScript. The second is a trigger note of type doc or type launcher that includes a #docName label.

The #docName label accepts a path string that the application resolves without sufficient validation. By embedding ../ sequences, the label points to the payload note's API endpoint. When the trigger note is rendered, the resolved content is loaded inline, executing the raw HTML and JavaScript from the payload note.

The desktop client runs the Electron renderer with nodeIntegration enabled. Injected JavaScript therefore has direct access to Node.js APIs such as require('child_process'), converting an XSS primitive into full code execution under the user's account.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22] in the handling of the #docName label. The import routine trusts user-supplied path components inside the ZIP archive and does not normalize or constrain them before resolving the API endpoint. Combined with an Electron configuration that exposes Node.js to renderer content, path traversal escalates from data disclosure to arbitrary code execution.

Attack Vector

Exploitation requires the victim to import a malicious ZIP archive with safe import enabled. The attacker delivers the archive through social engineering, a shared workspace, or a backup-restore workflow. No authentication to a remote service is required because the attack executes locally within the victim's Trilium client. User interaction is required to initiate the import.

See the GitHub Security Advisory GHSA-9jjc-cccq-f6rh for the technical write-up.

Detection Methods for CVE-2026-45668

Indicators of Compromise

  • ZIP archives containing notes with #docName label values that include ../ sequences
  • Notes of type code with mime text/plain that carry raw HTML or <script> payloads
  • Trigger notes of type doc or launcher referencing payload note API endpoints
  • Unexpected child processes spawned by the Trilium Electron renderer process

Detection Strategies

  • Inspect imported ZIP archives for note metadata containing path traversal tokens in label fields
  • Alert on process creation where the parent is the Trilium Electron binary and the child is a shell, scripting interpreter, or LOLBin
  • Monitor file writes and outbound network connections originating from the Trilium renderer process immediately following an import action

Monitoring Recommendations

  • Log all ZIP import operations in Trilium and capture the source path of each archive
  • Correlate Electron renderer telemetry with endpoint process trees to detect renderer-to-shell transitions
  • Track Trilium client version inventory across endpoints to identify hosts still running versions earlier than 0.102.2

How to Mitigate CVE-2026-45668

Immediate Actions Required

  • Upgrade all Trilium Notes desktop and server installations to version 0.102.2 or later
  • Do not import ZIP archives from untrusted sources until the upgrade is complete
  • Audit recent imports for notes containing #docName labels with ../ path components and remove suspicious entries

Patch Information

The vulnerability is fixed in Trilium Notes 0.102.2. The fix is published in the GitHub Security Advisory GHSA-9jjc-cccq-f6rh. Apply the patched release from the official TriliumNext repository and restart the desktop client to ensure the renderer loads the updated code.

Workarounds

  • Disable safe import functionality until the patched version is deployed
  • Restrict ZIP imports to archives sourced from trusted authors and verified channels
  • Run the Trilium client under a least-privilege user account to limit the blast radius of renderer compromise
  • Where feasible, isolate the Trilium desktop client on hardened endpoints separated from sensitive workloads

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTrilium Notes

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39311: Trilium Notes RCE Vulnerability

  • CVE-2026-39310: Trilium Notes Auth Bypass Vulnerability

  • CVE-2026-39309: Trilium Notes Auth Bypass Vulnerability

  • CVE-2026-35593: Trilium Notes Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English