HackerFeeds
All CVEs

CVE-2026-135686: Trilium SQL Injection

HIGH7.4

Published 2026-11-24 · Updated 2026-12-04 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.

What to do

  1. The advisory lists versions through 0.107.0 as affected and does not name a fixed release. Check the references below for a newer version of Trilium or a vendor mitigation.
  2. Until it is patched, do not leave Trilium reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Put WAF rules in front of the affected parameters, and make sure the application's database account holds only the privileges it needs.

Affected and fixed versions

ProductAffectedFixed in
Trilium≤ 0.107.0Not stated in the advisory

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality and integrity is rated high.

CVSS 3.1 metrics for CVE-2026-135686
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness: SQL Injection

Attacker-controlled input changes the structure of a database query, which can expose, modify or delete data and sometimes leads to code execution on the database host.

Classified as CWE-89.

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.

Advisory text as published in the NVD record.

View on NVD