{"id":"CVE-2026-135686","aliases":["CVE-2026-135686"],"related":[],"kind":"vulnerability","state":"published","title":"Trilium through 0.107.0 SQL Injection via Sync Update Entity Name","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-24T00:11:54.611Z","modified":"2026-11-28T03:28:20.733Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.1,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.107.0","status":"affected"}],"vendor":"TriliumNext","product":"Trilium","repo":"https://github.com/TriliumNext/Trilium","source":"cvelist"}],"references":[{"url":"https://github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/TriliumNext/Trilium","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Sandipkumar sah","eliandoran"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-28T03:28:09.665Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135686","url":"https://www.cve.org/CVERecord?id=CVE-2026-135686","licence":"CVE Terms of Use","modified":"2026-11-28T03:28:20.733Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135686","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135686","licence":"Public domain","modified":"2026-11-24T01:17:31.963Z"}],"updatedAt":"2026-11-28T03:42:21.314Z","epss":{"score":0.00724,"percentile":0.55277,"date":"2026-12-01T12:00:22.000Z"}}