PoC Monitor
← All CVEs
CVE-2026-135686published 24 Nov 2026 00:11 UTCData: JSON · API

TriliumNext Trilium

Trilium through 0.107.0 SQL Injection via Sync Update Entity Name

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.

First public PoC 16 hafter publication · 24 Nov 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

TriliumNext Trilium
  • <= 0.107.0

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Nov 2026 · t = 0First public PoC24 Nov 2026 · t+16h

First public PoC 16 h after publication; not in CISA KEV. First PoC: cveForge/CVE-2026-135686 (created 24 Nov 2026, found by us: 24 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
cveForge/CVE-2026-135686 24 Nov 2026 +16 h 24 Nov 2026 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /api/sync/check

Query
lastSyncedPush=
Key headers
Accept: application/json
Ports
8080
PoC User-Agent
cveForge-PoC
Seen in
1 repo: cveForge/CVE-2026-135686
Evidence
cveForge/CVE-2026-135686/poc.py:27

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/sync/check
(?i)^/api/sync/check\?(?:.*&)?lastSyncedPush=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/sync/check
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-135686 TriliumNext Trilium exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/sync/check"; http.uri; content:"lastSyncedPush="; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-135686; classtype:web-application-attack; sid:9146590; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/sync/check
title: TriliumNext Trilium exploit attempt (CVE-2026-135686)
id: gg-pocmon-cve-2026-135686-9146590
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-135686. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-135686
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/sync/check'
    cs-uri-query|contains|all:
      - 'lastSyncedPush='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.135686