Information Exposure Through Timing Discrepancy in authentik - CVE-2024-52307

 

Information Exposure Through Timing Discrepancy in authentik - CVE-2024-52307

Published: November 21, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127134
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-52307
CWE-ID: CWE-208
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Authentik Security Inc
Affected software:
authentik

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information and modify data.

The vulnerability exists due to observable timing discrepancy in the /-/metrics/ endpoint when comparing authentication data. A remote attacker can send repeated requests to brute-force the SECRET_KEY to disclose sensitive information and modify data.

The issue can enable signing new cookies or modifying existing cookies after recovering the SECRET_KEY.


How to mitigate CVE-2024-52307

Install security update from vendor's website.

Sources