{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-135686","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-23T23:44:46.814Z","datePublished":"2026-11-24T00:11:54.611Z","dateUpdated":"2026-11-24T00:11:54.611Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-24T00:11:54.611Z"},"datePublic":"2026-11-11T00:00:00.000Z","title":"Trilium through 0.107.0 SQL Injection via Sync Update Entity Name","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","cweId":"CWE-89","type":"CWE"}]}],"affected":[{"vendor":"TriliumNext","product":"Trilium","packageURL":"pkg:github/TriliumNext/Trilium","repo":"https://github.com/TriliumNext/Trilium","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"0.107.0","status":"affected","versionType":"semver"}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/TriliumNext/Trilium","tags":["product"]},{"url":"https://github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name","name":"VulnCheck Advisory: Trilium through 0.107.0 SQL Injection via Sync Update Entity Name","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Sandipkumar sah","type":"finder"},{"lang":"en","value":"eliandoran","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}