Paper/Archive/CVE-2026-135686

CVE-2026-135686

TriliumNext Trilium — Trilium through 0.107.0 SQL Injection via Sync Update Entity Name

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Trilium≤ 0.107.0–CNA

Scores by source

VulnCheck (CNA)9.1CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck (CNA)7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References

patchgithub.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176refgithub.com/TriliumNext/Triliumwriteupgithub.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107writeupvulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name