AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

Trilium’s updateNormalEntity() is vulnerable to SQL injection through crafted entity names and column keys supplied by a malicious sync partner. Via sync endpoints, attackers can copy sessions, etapi_tokens, and user_data into synced rows and write arbitrary database rows.

Impact: SQL injection with credential/session exposure and arbitrary database writes

Affected technologies

  • TriliumNext Trilium through 0.107.0

Upgrade to a patched Trilium release and only sync with trusted instances; rotate sessions and ETAPI tokens if exposure is suspected.

Details

   
CVSS 9.1 (Critical)
Vendor / product TriliumNext Trilium
Published 2026-11-24
Weakness CWE-89
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:X/AU:X/R:X/V:X/RE:X/U:X

Original 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.

References

← Threat intelligence dashboard