CVE-2024-52307
CVE-2024-52307 is a medium-severity vulnerability in Goauthentik Authentik with a CVSS 3.x base score of 5.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-208.
Key facts
- Severity: Medium (CVSS 3.x base score 5.6)
- CVSS v4: 6.3
- EPSS exploit prediction: 1% (41st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-45992
- Weakness: CWE-208
- Affected product: Goauthentik Authentik
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-52307?
- 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.
- How severe is CVE-2024-52307?
- CVE-2024-52307 has a CVSS 3.x base score of 5.6, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2024-52307 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (41st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-52307?
- CVE-2024-52307 affects Goauthentik Authentik. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-52307?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-52307 have an EU (EUVD) identifier?
- Yes. CVE-2024-52307 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-45992.
- When was CVE-2024-52307 published?
- CVE-2024-52307 was published on 2024-11-21 and last updated on 2026-06-17.
References
- https://github.com/goauthentik/authentik/commit/5ea4580884f99369f0ccfe484c04cb03a66e65b8
- https://github.com/goauthentik/authentik/security/advisories/GHSA-2xrw-5f2x-m56j
- http://www.openwall.com/lists/oss-security/2024/11/27/1
Affected products (1)
- cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
More vulnerabilities in Goauthentik Authentik
- CVE-2026-49448 — Critical (CVSS 9.8): authentik is an open-source identity provider. Prior to versions 2025.12.6, 2026.2.4, and 2026.5.1, the Source stage…
- CVE-2024-52289 — Critical (CVSS 9.8): authentik is an open-source identity provider. Redirect URIs in the OAuth2 provider in authentik are checked by RegEx…
- CVE-2025-52553 — Critical (CVSS 9.6): authentik is an open-source identity provider. After authorizing access to a RAC endpoint, authentik creates a token…
- CVE-2023-46249 — Critical (CVSS 9.6): authentik is an open-source Identity Provider. Prior to versions 2023.8.4 and 2023.10.2, when the default admin user…
- CVE-2022-23555 — Critical (CVSS 9.4): authentik is an open-source Identity Provider focused on flexibility and versatility. Versions prior to 2022.11.4 and…
- CVE-2026-42849 — Critical (CVSS 9.3): authentik is an open-source identity provider. Prior to versions 2025.12.5 and 2026.2.3, due to the implementation of…
All CVEs affecting Goauthentik Authentik →
Other CWE-208 vulnerabilities
- CVE-2023-41313 — Critical (CVSS 9.8): The authentication method in Apache Doris versions before 2.0.0 was vulnerable to timing attacks. Users are recommended…
- CVE-2024-42512 — High (CVSS 8.6): Vulnerability in the OPC UA .NET Standard Stack before 1.5.374.158 allows an unauthorized attacker to bypass…
- CVE-2025-53940 — High (CVSS 8.5): Quiet is an alternative to team chat apps like Slack, Discord, and Element that does not require trusting a central…
- CVE-2026-47784 — High (CVSS 8.1): In memcached before 1.6.42, password data for SASL password database authentication has a timing side channel because…
- CVE-2026-47783 — High (CVSS 8.1): In memcached before 1.6.42, username data for SASL password database authentication has a timing side channel because a…
- CVE-2026-42602 — High (CVSS 8.1): azureauthextension is the Azure Authenticator Extension. From 0.124.0 to 0.150.0, a server-side authentication bypass…