TriliumNext Trilium
Trilium through 0.107.0 SQL Injection via Sync Update Entity Name
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 0.107.0
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationFirst public PoC 16 h after publication; not in CISA KEV. First PoC: cveForge/CVE-2026-135686 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cveForge/CVE-2026-135686 | 24 Nov 2026 +16 h | 24 Nov 2026 | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api/sync/check
- Query
lastSyncedPush=- Key headers
Accept: application/json- Ports
- 8080
- PoC User-Agent
cveForge-PoC- Seen in
- 1 repo: cveForge/CVE-2026-135686
- Evidence
- cveForge/CVE-2026-135686/poc.py:27
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/sync/check\?(?:.*&)?lastSyncedPush=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-135686 TriliumNext Trilium exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/sync/check"; http.uri; content:"lastSyncedPush="; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-135686; classtype:web-application-attack; sid:9146590; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: TriliumNext Trilium exploit attempt (CVE-2026-135686)
id: gg-pocmon-cve-2026-135686-9146590
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-135686. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-135686
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/sync/check'
cs-uri-query|contains|all:
- 'lastSyncedPush='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.135686