Vulnerabilities

CVE-2026-39309

Medium 5.5 CVSS 3.1

Description

Trilium Notes is a cross-platform, hierarchical note taking application focused on building large personal knowledge bases. In versions 0.102.1 and prior, the Electron configuration is vulnerable to TCC Bypass via Prompt Spoofing, allowing local attackers to trigger misleading macOS permission prompts by running malicious code under the identity of the trusted app. The root cause is that the RunAsNode fuse allows launching the app in a special Node.js mode using -e to execute arbitrary system commands with Trilium Notes's permissions and identity. An attacker can leverage this through a subprocess to request any sensitive permissions, such as access to hardware (camera, microphone) and TCC-protected files, causing the TCC system prompt to appear as if the request came from Trilium rather than the attacker's code, because macOS treats the subprocess as part of the parent application. Exploitation allows access to TCC-protected resources like the screen, camera, microphone, and folders such as ~/Documents and ~/Downloads, undermining macOS's security model and UI integrity through social engineering. This issue has been fixed in version 0.102.2.

Description as published by the source, in English.

Key facts

Published
2026-05-20
Last modified
2026-07-24
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.2 % higher than 7 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
TriliumNext Trilium < 0.102.2 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1036.001: Invalid Code Signature stealth
  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1534: Internal Spearphishing lateral-movement
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1553.002: Code Signing defense-impairment
  • T1557: Adversary-in-the-Middle credential-access, collection
  • T1566: Phishing initial-access
  • T1566.001: Spearphishing Attachment initial-access
  • T1566.002: Spearphishing Link initial-access
  • T1566.003: Spearphishing via Service initial-access
  • T1598: Phishing for Information reconnaissance
  • T1598.001: Spearphishing Service reconnaissance
  • T1598.002: Spearphishing Attachment reconnaissance
  • T1598.003: Spearphishing Link reconnaissance

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities