# CVE-2026-135686

SQL injection in Trilium sync API allows DB tampering and token/data theft

- Page: https://www.vulneraibility.com/cve/CVE-2026-135686
- CVSS: 9.1
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.45% (percentile 39.9)
- Weakness: CWE-89
- Published: 2026-11-24

## Affected versions

- TriliumNext Trilium: affected <= 0.107.0

A version outside these ranges is not a statement that it is unaffected.

## Impact

Remote SQL injection via /api/sync endpoints lets malicious sync partners inject rows, copy sessions/etapi_tokens/user_data, enabling token theft, account takeover and DB corruption.

## Action

Immediate action required

## Recommendation

Apply the vendor fix/release immediately or disable sync; rotate tokens and credentials.

## References

- [patch] https://github.com/TriliumNext/Trilium/commit/4ec30088fce936f2e87c0af6af3f89c47d331176
- [other] https://github.com/TriliumNext/Trilium
- [other] https://github.com/TriliumNext/Trilium/blob/v0.107.0/packages/trilium-core/src/services/sync_update.ts#L107
- [advisory] https://www.vulncheck.com/advisories/trilium-through-0.107.0-sql-injection-via-sync-update-entity-name

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
