Cyber Resilience

CVE-2024-52289

Goauthentik Authentik ≤ 2024.8.5

Published
21 November 2024
Modified
23 September 2025
Patch / advisory
CVSS Score v4 7.9
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.011 62th percentile
Risk Priority 48 floored blend · peak EPSS

Summary

CVE-2024-52289 is a high-severity Incorrect Regular Expression (CWE-185) vulnerability in Goauthentik Authentik. Its CVSS base score is 7.9 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Command and Scripting Interpreter (T1059); ranked in the top 38% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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 `\.`.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1566 Phishing Initial Access
Adversaries may send phishing messages to gain access to victim systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-41569Same product: Goauthentik Authentik
CVE-2025-64521Same product: Goauthentik Authentik
CVE-2023-36456Same product: Goauthentik Authentik
CVE-2026-42849Same product: Goauthentik Authentik
CVE-2026-25227Same product: Goauthentik Authentik
CVE-2024-21637Same product: Goauthentik Authentik
CVE-2024-11623Same product: Goauthentik Authentik
CVE-2024-47077Same product: Goauthentik Authentik
CVE-2026-25748Same product: Goauthentik Authentik
CVE-2024-47070Same product: Goauthentik Authentik

Affected Assets

goauthentik
authentik
≤ 2024.8.5 · 2024.10.0 — 2024.10.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover regex that fails to match or compare data as intended.

Requiring documented development standards and tools reduces the chance that incorrect regular expressions are written into validation or filtering logic.

An SDLC that incorporates security can embed reviews or tooling that catch malformed regular expressions before deployment.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require correct regex design, testing, and review to avoid improper matching.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development can detect regex-related flaws before release.

prevents

Secure development lifecycle includes validation of input-handling constructs such as regex.

prevents

Application security requirements can mandate correct regex design and testing.

prevents

Secure coding standards directly address proper construction and review of regular expressions.

References