CVE-2026-39309

Trilium Notes: macOS TCC Bypass via Prompt Spoofing

5.5 medium EPSS 0.18%

Published 19 May 2026 Updated 20 May 2026 CNA: GitHub_M

Check your servers for CVE-2026-39309

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-39309 affects trilium, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.5 medium CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.50% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 20 May 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-290 Authentication Bypass by Spoofing
  • CWE-451 User Interface (UI) Misrepresentation of Critical Information

Affected products

As the CNA lists them.

ProductVersions
Trilium
affected < 0.102.2

Is my server affected?

Find the installed version of trilium and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i trilium
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-39309 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-39309

RHEL, Rocky, Alma, Fedora

rpm -q trilium
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-39309

Alpine

apk list --installed | grep -i trilium

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-39309
trivy image --scanners vuln IMAGE | grep CVE-2026-39309

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Exploits and proof of concept

Other references

Source: the record CVE-2026-39309 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.