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

CVE-2026-39309: Trilium Notes Auth Bypass Vulnerability

CVE-2026-39309 is an authentication bypass vulnerability in Trilium Notes that allows local attackers to spoof macOS permission prompts and access sensitive resources. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-39309 Overview

CVE-2026-39309 affects Trilium Notes, a cross-platform hierarchical note-taking application used for building large personal knowledge bases. Versions 0.102.1 and prior ship an Electron configuration that enables a Transparency, Consent, and Control (TCC) bypass on macOS through prompt spoofing [CWE-290]. A local attacker can launch the trusted Trilium binary in Node.js mode and execute arbitrary commands under Trilium's identity. macOS then presents TCC permission prompts as if they originated from Trilium, tricking users into granting access to the camera, microphone, screen, and protected folders. The issue is fixed in version 0.102.2.

Critical Impact

Local attackers can impersonate Trilium Notes to obtain TCC-protected access to hardware sensors, the screen, and user folders such as ~/Documents and ~/Downloads.

Affected Products

  • Trilium Notes versions 0.102.1 and prior (macOS Electron build)
  • TriliumNext distribution prior to v0.102.2
  • macOS installations relying on TCC for hardware and file access control

Discovery Timeline

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

Technical Details for CVE-2026-39309

Vulnerability Analysis

The flaw is an identity spoofing weakness rooted in Electron's RunAsNode fuse. When this fuse is enabled, the packaged Trilium binary can be invoked with the -e flag to execute arbitrary JavaScript in a Node.js context. The spawned process inherits the bundle identifier, code signature, and TCC entitlements of Trilium Notes.

macOS enforces privacy controls by checking the parent application's identity when a process requests sensitive resources. Because the attacker's subprocess runs under Trilium's signed binary, the operating system attributes the request to Trilium. The user sees a TCC consent dialog naming Trilium and is likely to approve it, granting the attacker access to hardware and protected directories.

Exploitation does not require kernel access or memory corruption. It abuses a legitimate Electron feature combined with macOS's trust model, making it a social engineering and configuration weakness rather than a memory safety bug.

Root Cause

The Electron application was built with the RunAsNode fuse left enabled. This fuse permits the bundled binary to behave as a generic Node.js interpreter, accepting -e and similar arguments. Combined with Trilium's TCC entitlements, this turns the signed app into a confused deputy for any local process that can invoke it.

Attack Vector

A local attacker with code execution as the current user runs the Trilium binary with crafted Node.js arguments. The child process inherits Trilium's identity and issues APIs that trigger TCC prompts for the camera, microphone, screen recording, or file access. The displayed prompt attributes the request to Trilium, increasing the likelihood of user approval.

No synthetic exploitation code is reproduced here. Refer to the GitHub Security Advisory GHSA-66pm-8hvq-2wwx for vendor-confirmed technical details.

Detection Methods for CVE-2026-39309

Indicators of Compromise

  • Execution of the Trilium binary with -e, --eval, or ELECTRON_RUN_AS_NODE=1 environment variable set
  • Unexpected TCC consent prompts attributing camera, microphone, or screen access to Trilium Notes
  • New entries for Trilium in tccutil or /Library/Application Support/com.apple.TCC/TCC.db for sensitive categories

Detection Strategies

  • Monitor process creation events for the Trilium executable launched with Node.js-style arguments or ELECTRON_RUN_AS_NODE in its environment
  • Alert when child processes of non-Trilium parents spawn the Trilium binary with command-line scripts
  • Correlate TCC database modifications with recent Trilium subprocess activity

Monitoring Recommendations

  • Ingest macOS EndpointSecurity process and exec telemetry into a centralized analytics pipeline
  • Track installed Trilium versions across managed endpoints and flag any host running 0.102.1 or earlier
  • Review user-granted TCC permissions periodically and revoke entries for outdated Trilium installations

How to Mitigate CVE-2026-39309

Immediate Actions Required

  • Upgrade all macOS endpoints running Trilium Notes to version 0.102.2 or later
  • Revoke existing TCC permissions granted to vulnerable Trilium versions before upgrading
  • Restrict local execution of unsigned helper scripts that could invoke the Trilium binary

Patch Information

The maintainers released the fix in Trilium v0.102.2, which disables the RunAsNode Electron fuse so the packaged binary no longer accepts arbitrary Node.js execution arguments. See the GitHub Security Advisory GHSA-66pm-8hvq-2wwx for advisory metadata.

Workarounds

  • Remove Trilium Notes from macOS hosts until upgrade to 0.102.2 is possible
  • Deny Trilium access to camera, microphone, screen recording, and Full Disk Access in System Settings → Privacy & Security
  • Apply application allowlisting to prevent non-interactive invocation of the Trilium binary by other processes
bash
# Verify installed Trilium version and reset its TCC permissions on macOS
mdls -name kMDItemVersion /Applications/Trilium\ Notes.app
tccutil reset Camera com.github.trilium-notes
tccutil reset Microphone com.github.trilium-notes
tccutil reset ScreenCapture com.github.trilium-notes

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

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

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

  • GitHub Security Advisory GHSA-66pm-8hvq-2wwx
  • Related CVEs
  • CVE-2026-39310: 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