CVE-2024-52289
CVE-2024-52289 is a critical-severity vulnerability in Goauthentik Authentik with a CVSS 3.x base score of 9.8. 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-185.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v4: 7.9
- EPSS exploit prediction: 1% (60th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-45991
- Weakness: CWE-185
- Affected product: Goauthentik Authentik
- Published:
- Last modified:
Description
authentik is an open-source identity provider. Redirect URIs in the OAuth2 provider in authentik are checked by RegEx comparison. When no Redirect URIs are configured in a provider, authentik will automatically use the first redirect_uri value received as an allowed redirect URI, without escaping characters that have a special meaning in RegEx. Similarly, the documentation did not take this into consideration either. Given a provider with the Redirect URIs set to https://foo.example.com, an attacker can register a domain fooaexample.com, and it will correctly pass validation. authentik 2024.8.5 and 2024.10.3 fix this issue. As a workaround, When configuring OAuth2 providers, make sure to escape any wildcard characters that are not intended to function as a wildcard, for example replace `.` with `\.`.
Frequently asked questions
- What is CVE-2024-52289?
- authentik is an open-source identity provider. Redirect URIs in the OAuth2 provider in authentik are checked by RegEx comparison. When no Redirect URIs are configured in a provider, authentik will automatically use the first redirect_uri value received as an allowed redirect URI, without escaping characters that have a special meaning in RegEx. Similarly, the documentation did not take this into consideration either. Given a provider with the Redirect URIs set to https://foo.example.com, an attacker can register a domain fooaexample.com, and it will correctly pass validation. authentik 2024.8.5 and 2024.10.3 fix this issue. As a workaround, When configuring OAuth2 providers, make sure to escape any wildcard characters that are not intended to function as a wildcard, for example replace `.` with `\.`.
- How severe is CVE-2024-52289?
- CVE-2024-52289 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-52289 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (60th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-52289?
- CVE-2024-52289 affects Goauthentik Authentik. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-52289?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-52289 have an EU (EUVD) identifier?
- Yes. CVE-2024-52289 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-45991.
- When was CVE-2024-52289 published?
- CVE-2024-52289 was published on 2024-11-21 and last updated on 2026-06-17.
References
- https://github.com/goauthentik/authentik/commit/85bb638243c8d7ea42ddd3b15b3f51a90d2b8c54
- https://github.com/goauthentik/authentik/security/advisories/GHSA-3q5w-6m3x-64gj
- https://www.vicarius.io/vsociety/posts/cve-2024-52289-detect-authentik-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2024-52289-mitigate-authentik-vulnerability
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-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…
- CVE-2026-25227 — Critical (CVSS 9.1): authentik is an open-source identity provider. From 2021.3.1 to before 2025.8.6, 2025.10.4, and 2025.12.4, when using…
All CVEs affecting Goauthentik Authentik →
Other CWE-185 vulnerabilities
- CVE-2019-12798 — Critical (CVSS 9.8): An issue was discovered in Artifex MuJS 1.0.5. regcompx in regexp.c does not restrict regular expression program size,…
- CVE-2026-25896 — Critical (CVSS 9.3): fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based…
- CVE-2026-4296 — High (CVSS 8.8): An incorrect regular expression vulnerability was identified in GitHub Enterprise Server that allowed an attacker to…
- CVE-2018-17984 — High (CVSS 7.8): An unanchored /[a-z]{2}/ regular expression in ISPConfig before 3.1.13 makes it possible to include arbitrary files,…
- CVE-2026-33418 — High (CVSS 7.5): DiceBear is an avatar library for designers and developers. Prior to version 9.4.2, the `ensureSize()` function in…
- CVE-2025-20139 — High (CVSS 7.5): A vulnerability in chat messaging features of Cisco Enterprise Chat and Email (ECE) could allow an unauthenticated,…