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-39310

CVE-2026-39310: Trilium Notes Auth Bypass Vulnerability

CVE-2026-39310 is an authentication bypass flaw in Trilium Notes that exposes Clipper API endpoints without password or token protection in Electron environments. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-39310 Overview

CVE-2026-39310 is an authentication bypass vulnerability in Trilium Notes, a cross-platform hierarchical note-taking application. The flaw affects Trilium Desktop versions 0.102.1 and prior when running in an Electron environment. Trilium explicitly disables authentication middleware for the Clipper API, exposing endpoints such as /api/clipper/notes to the network without a password, API token, or Cross-Site Request Forgery (CSRF) protection. Attackers on a shared network can locate vulnerable instances by scanning for high-range ports and querying the unauthenticated handshake endpoint. The issue is categorized under [CWE-284] Improper Access Control and is fixed in version 0.102.2.

Critical Impact

Unauthenticated network-adjacent attackers can read and modify personal knowledge bases, deliver phishing content, and pivot toward local system compromise on hosts running Trilium Desktop.

Affected Products

  • Trilium Notes Desktop version 0.101.3
  • Trilium Notes versions 0.102.1 and prior
  • Trilium Notes Electron-based desktop builds

Discovery Timeline

  • 2026-05-20 - CVE-2026-39310 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-39310

Vulnerability Analysis

The vulnerability resides in the Clipper API authentication logic inside Trilium Desktop. When the application detects an Electron runtime, it deliberately removes the authentication middleware that would otherwise protect Clipper endpoints. The Clipper API is intended for local browser extension integration, so the developers assumed the listener would only be reachable from localhost. In practice, the desktop application binds the HTTP listener to a high port such as 37840 that is reachable from any host on the same network segment. As a result, endpoints including /api/clipper/handshake and /api/clipper/notes accept requests without any credential check.

Root Cause

The root cause is improper access control [CWE-284] tied to environment-based trust assumptions. The code path that registers Clipper routes conditionally bypasses authentication when isElectron is true. No additional binding restrictions, origin checks, or token validation compensate for the removed middleware. CSRF protection is also disabled on the same routes, allowing state-changing requests from any origin.

Attack Vector

An attacker on a corporate LAN, public Wi-Fi, or any shared subnet enumerates open ports using a tool such as nmap, targeting Trilium's typical port range. Once a candidate service responds, the attacker sends an unauthenticated request to the Clipper handshake endpoint. The endpoint returns the application name and protocol version, confirming a Trilium instance. The attacker then issues requests to /api/clipper/notes and related endpoints to read existing notes, inject new notes containing phishing payloads or malicious links, or stage content that may be opened by the legitimate user. Because the desktop client renders content via Electron, injected notes can facilitate further local system compromise.

No verified proof-of-concept code is published with this advisory. Technical specifics are available in the GitHub Security Advisory GHSA-jcvx-vc83-cppw.

Detection Methods for CVE-2026-39310

Indicators of Compromise

  • Unexpected inbound TCP connections to port 37840 or nearby high-range ports on hosts running Trilium Desktop.
  • HTTP requests to /api/clipper/handshake or /api/clipper/notes originating from non-loopback addresses.
  • New or modified notes containing unfamiliar URLs, scripts, or attachments not created by the user.
  • Trilium process logs showing API activity outside of normal browser-extension usage patterns.

Detection Strategies

  • Monitor host-based firewall logs for external connections to Trilium's listener ports and alert on any non-localhost source.
  • Inspect network traffic for HTTP requests containing the path /api/clipper/ from sources other than 127.0.0.1 or ::1.
  • Correlate nmap-style port scanning activity on internal subnets with subsequent connections to Trilium ports.

Monitoring Recommendations

  • Enumerate endpoints running Trilium Desktop and confirm the installed version is 0.102.2 or later.
  • Log and review process network bindings on developer and knowledge-worker workstations to identify exposed local services.
  • Establish baseline traffic patterns for the Clipper API and alert on deviations such as remote source addresses.

How to Mitigate CVE-2026-39310

Immediate Actions Required

  • Upgrade Trilium Notes Desktop to version 0.102.2 or later on all endpoints.
  • Restrict the Trilium listener to localhost using a host-based firewall rule until the upgrade is applied.
  • Audit existing note content for unauthorized entries that may have been injected during the exposure window.
  • Avoid running Trilium Desktop on untrusted networks such as public Wi-Fi until patched.

Patch Information

The maintainers fixed the issue in Trilium Notes version 0.102.2. The patch reinstates authentication middleware for the Clipper API regardless of the Electron runtime context. See the GitHub Release v0.102.2 for release notes and download links.

Workarounds

  • Bind the Trilium HTTP listener to the loopback interface only via local firewall rules blocking inbound traffic to port 37840.
  • Disable or remove the Clipper integration if browser-clipping functionality is not required.
  • Run Trilium Desktop only on isolated networks or behind a host-based firewall that drops non-loopback connections to its listener port.
bash
# Example host firewall rule to block remote access to Trilium's Clipper port on Linux
sudo iptables -A INPUT -p tcp --dport 37840 ! -s 127.0.0.1 -j DROP

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechTrilium Notes

  • SeverityHIGH

  • CVSS Score8.6

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Release v0.102.2

  • GitHub Security Advisory GHSA-jcvx-vc83-cppw
  • Related CVEs
  • CVE-2026-39309: Trilium Notes Auth Bypass Vulnerability

  • CVE-2025-68621: Trilium Notes Auth Bypass Vulnerability

  • CVE-2026-39311: Trilium Notes RCE 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