Live threats

All CVEs / TriliumNext

CVE-2026-135686TriliumNext Trilium

SQL Injection in Entity Synchronization in Trilium

Critical 9.1 No auth neededRecent

Priority
78
CVSS 4.0
9.1
EPSS
—
Auth required
No
Published
Nov 24, 2026
Updated
Nov 28, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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

What happens

Trilium through version 0.107.0 contains an SQL injection vulnerability in the updateNormalEntity() function that allows malicious sync partners to inject SQL through crafted entity names and column keys. An attacker can exploit the /api/sync/changed or PUT /api/sync/update endpoints to copy sessions, ETAPI tokens, and user data to synced rows, or write arbitrary database rows.

Show the original NVD text

Trilium through 0.107.0 contains an sql injection vulnerability in updateNormalEntity() that allows malicious sync partners to inject SQL by supplying crafted entity names and column keys. Attackers can abuse /api/sync/changed or PUT /api/sync/update data to copy sessions, etapi_tokens and user_data into synced rows and write arbitrary database rows.

Source text, unmodified. NVD.

What to do

Patch available

Update Trilium to a version after 0.107.0 that includes the SQL injection security patch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Trilium.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.