Trilium: sql injection enables data theft
HighAI-generated2026-11-26
- CVE
- CVE-2026-135686
- Severity
- High (CVSS 7.4)
- Attack conditions
- Remotely, over the network · No account needed · No user action needed
- Exploitation probability (EPSS)
- 0.7% (within 30 days; FIRST EPSS, 30 November 2026)
Summary
Trilium up to version 0.107.0 is vulnerable to an SQL injection flaw that lets attackers inject malicious queries via the sync API, potentially stealing session information and other data.
Details
According to the NVD record, Trilium versions through 0.107.0 contain an SQL injection vulnerability in the updateNormalEntity() function. The flaw can be triggered through the /api/sync/changed endpoint or a PUT request to /api/sync/update.
An attacker can use this weakness to inject SQL commands, allowing them to copy session data, authentication tokens and user information into synced rows, as well as write arbitrary rows to the database.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 24 November 2026 NVD record published
- 26 November 2026 This article was written