Trilium SQL Injection via Sync Update Entity Name
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
TriliumNext Trilium through 0.107.0 contains an SQL injection flaw (CWE-89) in updateNormalEntity(). A malicious sync partner can inject SQL through crafted entity names and column keys, which lets the attacker write arbitrary database rows and copy sessions, etapi_tokens and user_data into synced rows. The attack requires no privileges and no user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TriliumNext | Trilium | up to 0.107.0 | — | No fix listed | CNA |
- Trilium VendorTriliumNext Affected up to 0.107.0 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:triliumnotes:trilium:*:*:*:*:*:*:*:* | — | — | TriliumNext |
- cpe:2.3:a:triliumnotes:trilium:*:*:*:*:*:*:*:* Versions — — ·TriliumNext
Remediation
The sources list no fixed version for Trilium.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Timeline
- 2026-11-24 Threatist record created from CVE-2026-135686
- 2026-11-24 Alias added: GHSA-qr54-743q-fpq8
- 2026-11-28 CISA SSVC decision points changed
References
More TriliumNext vulnerabilities
- TI-2026-28300 Trilium Notes: Authentication Bypass in Clipper API for Electron (Desktop) Builds CVSS 3.1HIGH 8.6
- TI-2026-36250 Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client CVSS 4.0CRITICAL 9.3
- TI-2026-33410 Trilium Notes : Note Import to RCE via #docName Path Traversal (Safe Import Enabled) CVSS 4.0CRITICAL 9.3
- TI-2026-38639 Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml CVSS 4.0CRITICAL 9.3
- TI-2026-54012 Trilium unauthenticated share-search discloses password-protected and hidden shared notes CVSS 3.1HIGH 7.5
- TI-2026-35228 Code injection in TriliumNext Trilium CVSS 4.0HIGH 8.6
Sources
- CVE-2026-135686 · CVE Program
- CVE-2026-135686 · NVD
- FIRST EPSS
- GHSA-qr54-743q-fpq8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences