SQL Injection in Triliumnext Trilium
CVE-2026-135686
- CVSS v3
- 7.4 High
- Public exploits
- 1 repository
- EPSS
- 0.007 · 49.9th percentile
- Published
- 2026-11-24
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.
Vulnerability class: SQL Injection
Published .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.007, 49.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- cveForge/CVE-2026-135686 (last pushed 2026-11-24): PoC for CVE-2026-135686 — Trilium Notes Sync SQLi lastSyncedPush (CVSS 7.4)
References
- github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176 (patch)
- github.com/TriliumNext/Trilium (product)
- github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services… (technical-description)
- www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-upd… (third-party-advisory)