CVE-2026-135686
Trilium through 0.107.0 SQL Injection via Sync Update Entity Name
Critical · 9.1
- CVSS
- 9.1
- EPSS
- 0.72% (p50)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-28
- Product
- TriliumNext Trilium
- Aliases
- EUVD-2026-133579
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
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.
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 1d ago · CC-BY 4.0
- ENISA EUVD · first seen 5d ago · ENISA
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176 patch
- https://github.com/TriliumNext/Trilium product
- https://github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107 technical-description
- https://www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135686.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135686 advisory