CVE-2024-52307

authentik allows a timing attack due to missing constant time comparison for metrics view

MEDIUM
5.6
CVSS Score
Published: November 21, 2024 at 05:14 PM UTC
Updated: June 17, 2026 at 08:06 AM UTC
1 product affected across 1 vendorAuthentik

Using authentik by goauthentik?

Get instant alerts when new vulnerabilities affect authentik - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.6
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

authentik is an open-source identity provider. Due to the usage of a non-constant time comparison for the /-/metrics/ endpoint it was possible to brute-force the SECRET_KEY, which is used to authenticate the endpoint. The /-/metrics/ endpoint returns Prometheus metrics and is not intended to be accessed directly, as the Go proxy running in the authentik server container fetches data from this endpoint and serves it on a separate port (9300 by default), which can be scraped by Prometheus without being exposed publicly. authentik 2024.8.5 and 2024.10.3 fix this issue. Since the /-/metrics/ endpoint is not intended to be accessed publicly, requests to the endpoint can be blocked by the reverse proxy/load balancer used in conjunction with authentik.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2024.10.3v < 2024.8.52024.10.0 ≤ v < 2024.10.32024.10.0-rc1 ≤ v < 2024.10.32024.10.0-rc1
Affected range stops below 2024.10.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 2024.8.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-208

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card