CVE-2026-135686: Trilium through 0.107.0 SQL Injection via Sync Update Entity Name
Published Nov 24, 2026
·Updated
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, etapitokens and userdata into synced rows and write arbitrary database rows.
Affected Software
1 affected component
Trilium Trilium<=0.107.0
Event History
Nov 24, 2026
CVE Published
via MITRE·12:11 AM
Data Sourced
via MITRE·12:11 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 AM
DescriptionSeverityWeakness
Frequently Asked Questions
1
Who can exploit this issue?
The issue is exploitable by a malicious sync partner that can supply crafted entity names and column keys in synchronization data.
2
Which synchronization interfaces can carry the malicious input?
The affected data can be submitted through /api/sync/changed or by using PUT requests to /api/sync/update.
3
What could a successful attacker access or modify?
An attacker can inject SQL to copy sessions, etapi_tokens, and user_data into synced rows, and can write arbitrary database rows.