{"id":"CVE-2026-135686","aliases":["EUVD-2026-133579"],"title":"Trilium through 0.107.0 SQL Injection via Sync Update Entity Name","originalDescription":"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.","severity":{"cvss":9.1,"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","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.00724,"percentile":0.49984},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176","type":"patch"},{"url":"https://github.com/TriliumNext/Trilium","type":"product"},{"url":"https://github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135686.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135686","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T04:33:02.507Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135686","license":"NVD terms of use","firstSeenAt":"2026-11-24T01:23:49.064Z"},{"name":"osv","at":"2026-11-28T22:43:03.247Z","url":"https://osv.dev/vulnerability/CVE-2026-135686","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T05:06:47.092Z"},{"name":"euvd","at":"2026-11-24T05:14:58.828Z","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-133579","license":"ENISA","firstSeenAt":"2026-11-24T03:03:01.250Z"},{"name":"cvelistV5","at":"2026-11-29T07:28:09.234Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135686","license":"CVE Terms of Use","firstSeenAt":"2026-11-24T00:48:23.275Z"}],"firstSeenAt":"2026-11-24T00:48:23.275Z","publishedAt":"2026-11-24T00:11:54.000Z","modifiedAt":"2026-11-28T21:45:56.354Z"}