CVE-2024-52289 in Goauthentik Authentik
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 hav...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Goauthentik | Authentik | < 2024.8.5 ≥ 2024.10.0, < 2024.10.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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 `\.`.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-52289 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-220104-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-11-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-185: CWE-185
Related attack patterns (CAPEC)
CAPEC-79 Using Slashes in Alternate Encoding via CWE-185
CAPEC-6 Argument Injection via CWE-185
CAPEC-15 Command Delimiters via CWE-185
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-52289 in authentik allows attackers to exploit a vulnerability in the OAuth2 provider's handling of redirect URIs. Due to improper validation, attackers can inject malicious redirect URIs, potentially leading to unauthorized access or other security issues.
The vulnerability arises from the fact that when no redirect URIs are configured in an OAuth2 provider, authentik uses the first received redirect_uri value without escaping special characters. This can be exploited by an attacker to inject a malicious redirect URI that matches the intended pattern, leading to unauthorized redirection and potential exploitation.
Questions
What is CVE-2024-52289?
CVE-2024-52289 in authentik allows attackers to exploit a vulnerability in the OAuth2 provider's handling of redirect URIs. Due to improper validation, attackers can inject malicious redirect URIs, potentially leading to unauthorized access or other security issues.
What is the CVSS score for CVE-2024-52289?
CVE-2024-52289 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2024-52289 actively exploited?
No confirmed active exploitation of CVE-2024-52289 as of 2026-09-25.
How do I remediate CVE-2024-52289?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2024-52289?
CVE-2024-52289 affects Goauthentik Authentik.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Goauthentik","product":"Authentik","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.