# CVE-2026-135686: Trilium through 0.107.0 SQL Injection via Sync Update Entity Name

- Severity: Critical 9.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-11-24T00:11:54.611Z
- Modified: 2026-11-28T03:28:20.733Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- TriliumNext Trilium: up to 0.107.0

## Every score

- VulnCheck: CVSS:4.0 9.1 Critical `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`
- VulnCheck: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176> (patch)
- <https://github.com/TriliumNext/Trilium> (product)
- <https://github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107> (technical-description)
- <https://www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-135686](https://www.cve.org/CVERecord?id=CVE-2026-135686), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-135686](https://nvd.nist.gov/vuln/detail/CVE-2026-135686), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-135686 · Whole record: https://cve.day/CVE-2026-135686.json · Rebuilt by cve.day 2026-11-28T03:42:21.314Z
