CVE-2025-68621
7.4TriliumNext · Trilium Notes
A timing attack in the Trilium Notes sync authentication endpoint allows unauthenticated attackers to bypass authentication and gain full read/write access via HMAC hash recovery.
Executive summary
A critical timing vulnerability in Trilium Notes allows unauthenticated attackers to bypass authentication and compromise personal knowledge bases.
Vulnerability
The application is susceptible to a timing discrepancy (CWE-208) within the sync authentication endpoint. An unauthenticated remote attacker can leverage statistical timing analysis to recover HMAC authentication hashes, resulting in a full authentication bypass.
Business impact
Successful exploitation of this flaw grants an attacker complete unauthorized access to the victim's personal knowledge base, including read and write capabilities. Given the sensitive nature of information typically stored in hierarchical note taking applications, this could lead to total data exposure or malicious modification of proprietary information. The CVSS score of 7.4 reflects the high severity of this breach, which allows for remote compromise without requiring user interaction.
Remediation
Immediate Action: Update the Trilium Notes installation to version 0.101.0 or later immediately to incorporate the necessary fix for the authentication timing vulnerability.
Proactive Monitoring: Monitor server access logs for anomalous, high volume, or repetitive requests directed at the sync authentication endpoints that may indicate automated timing analysis attempts.
Compensating Controls: While no direct virtual patch is available, ensure the application is not exposed to the public internet and restrict access to the sync endpoint via IP whitelisting or a VPN.
Exploitation status
Public Exploit Available: No (exploit_available unknown).
Analyst recommendation
The vulnerability presents a serious risk to the confidentiality and integrity of stored data by allowing complete authentication bypass. Organizations and individual users should prioritize upgrading to version 0.101.0 as the primary method to neutralize this attack vector. Ensure that all instances of Trilium Notes are updated promptly to maintain the security of your information repository.