Skip to main content
Network Thinking Solutions Logo

CVE-2024-52289

authentik has an insecure default configuration for OAuth2 Redirect URIs

All CVEs
CVE-2024-52289Published 11/21/2024

authentik has an insecure default configuration for OAuth2 Redirect URIs

Vendor advisory
CVSS7.9High

Overview

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

Published
11/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
authentik
goauthentik
< 2024.8.5

Verify advisory

Source
authentik
goauthentik
≥ 2024.10.0, < 2024.10.3

Verify advisory

Source
authentik
goauthentik
< 2024.8.5

Verify advisory

Source
authentik
goauthentik
>= 2024.10.0-rc1, < 2024.10.3

Verify advisory

Source
authentik
goauthentik
< 2024.8.5

Verify advisory

Source
authentik
goauthentik
≥ 2024.10.0-rc1, < 2024.10.3

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.