What is CVE-2026-135686?
CVE-2026-135686 is a critical SQL injection vulnerability in TriliumNext Trilium, published on 24 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
How severe is CVE-2026-135686?
CVE-2026-135686 scores 9.1 out of 10 under CVSS 4.0, which is critical severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- None
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
Which versions are affected by CVE-2026-135686?
1 open source package ship an affected version, including triliumnext/trilium.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
triliumnext/trilium GitHubpkg:github/triliumnext/trilium | All versions to 0.107.0 | None |
How do I fix CVE-2026-135686?
No fix has been published for CVE-2026-135686 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-135686 being exploited?
There is no known exploitation of CVE-2026-135686 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-qr54-743q-fpq8.