Description
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.
References
- www.cve.org/CVERecord ↗
- nvd.nist.gov/vuln/detail/CVE-2026-135686 ↗
- github.com/TriliumNext/Trilium ↗
- github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts ↗
- github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176 ↗
- www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name ↗
Related CVEs
← CVE Index: search every CVE from the last 30 days
This product uses the NVD API but is not endorsed or certified by the NVD. CVSS scores do not establish exploitation.