TriliumNext Trilium
Trilium Notes has a Timing Attack Vulnerability in /api/login/sync
Trilium Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases. Prior to 0.101.0, a critical timing attack vulnerability in Trilium's sync authentication endpoint allows unauthenticated remote attackers to recover HMAC authentication hashes byte-by-byte through statistical timing analysis. This enables complete authentication bypass without password knowledge, granting full read/write access to victim's knowledge base. This vulnerability is fixed in 0.101.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.101.0
Fixed in 0.101.0
Mitigation
Upgrade Trilium to 0.101.0 or later.
References
- Vendor advisory github.com/TriliumNext/Trilium/security/adviso…
- Patch github.com/TriliumNext/Trilium/pull/8129
Timeline
Days relative to CVE publicationFirst public PoC 77 days after publication; not in CISA KEV. First PoC: sivaadityacoder/CVE-2025-68621 (created 25 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| sivaadityacoder/CVE-2025-68621 | 25 Apr 2026 +77 d | 0 | PoC |
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 repoPOST /api/login/sync
- Body markers
"timestamp""syncVersion""hash"inapplication/json- Seen in
- 1 repo: sivaadityacoder/CVE-2025-68621
- Evidence
- sivaadityacoder/CVE-2025-68621/poc.py:88 sivaadityacoder/CVE-2025-68621/poc.py:181
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/login/sync(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-68621 TriliumNext Trilium exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/login/sync"; http.request_body; content:"|22|timestamp|22|"; http.request_body; content:"|22|syncVersion|22|"; http.request_body; content:"|22|hash|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-68621; classtype:web-application-attack; sid:9753688; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: TriliumNext Trilium exploit attempt (CVE-2025-68621)
id: gg-pocmon-cve-2025-68621-9753688
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68621. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-68621
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/login/sync'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.68621