CVE-2026-135686 - Trilium through 0.107.0 SQL Injection via Sync Update Entity Name
Vulnerability · Reported by NVD · · CWE-89
- Severity
- Critical Risk score 91/100
- CVSS
- 9.1 v4.0 · from NVD
- Exploit chance (EPSS)
- 0.72% Higher than 50% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a SQL injection flaw (CWE-89). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed.
Is it being exploited?
The EPSS model estimates a 0.72% chance this CVE will be exploited in the next 30 days, which is low and higher than 50% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
CVE-2026-135686
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-135686 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.