Trilium Notes Timing Attack Vulnerability in Sync Authentication Endpoint Allowing Authentication Bypass

Vulnerability

A critical timing attack vulnerability has been identified in Trilium Notes versions prior to 0.101.0. This vulnerability allows unauthenticated remote attackers to exploit the sync authentication endpoint by recovering HMAC authentication hashes byte-by-byte through statistical timing analysis. The flaw enables complete authentication bypass without knowledge of the password, granting full read and write access to the victim's knowledge base.

Impact

Exploitation of this vulnerability allows for authentication bypass, enabling unauthorized access to a user's knowledge base with full read and write privileges.

Reproduction

The vulnerability can be reproduced by sending a series of requests to the Trilium sync authentication endpoint. Each request should include a guessed HMAC hash. By measuring the response time for each guess, an attacker can determine which bytes of the hash are correct. This process involves sending approximately 64 requests per character position, using high-precision timers to analyze the response times. The attack requires the use of over 100,000 requests and more than 1,000 different IP addresses to evade rate limiting.

Remediation

Users can update to Trilium Notes version 0.101.0 or later, where this vulnerability has been fixed.

Added: Feb 6, 2026, 11:43 PM
Updated: Feb 6, 2026, 11:43 PM

Vulnerability Rating

Custom Algorithm
spread
2.4
impact
5.0
exploitability
5.6
remediation
7.7
relevance
2.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.