{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-52289","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-11-06T19:00:26.394Z","datePublished":"2024-11-21T17:18:41.161Z","dateUpdated":"2025-09-23T18:21:58.900Z"},"containers":{"cna":{"title":"authentik has an insecure default configuration for OAuth2 Redirect URIs","problemTypes":[{"descriptions":[{"cweId":"CWE-185","lang":"en","description":"CWE-185: Incorrect Regular Expression","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":7.9,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"}}],"references":[{"name":"https://github.com/goauthentik/authentik/security/advisories/GHSA-3q5w-6m3x-64gj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/goauthentik/authentik/security/advisories/GHSA-3q5w-6m3x-64gj"},{"name":"https://github.com/goauthentik/authentik/commit/85bb638243c8d7ea42ddd3b15b3f51a90d2b8c54","tags":["x_refsource_MISC"],"url":"https://github.com/goauthentik/authentik/commit/85bb638243c8d7ea42ddd3b15b3f51a90d2b8c54"}],"affected":[{"vendor":"goauthentik","product":"authentik","versions":[{"version":"< 2024.8.5","status":"affected"},{"version":">= 2024.10.0-rc1, < 2024.10.3","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-11-21T17:18:41.161Z"},"descriptions":[{"lang":"en","value":"authentik is an open-source identity provider. Redirect URIs in the OAuth2 provider in authentik are checked by RegEx comparison.\nWhen 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":{"advisory":"GHSA-3q5w-6m3x-64gj","discovery":"UNKNOWN"}},"adp":[{"affected":[{"vendor":"goauthentik","product":"authentik","cpes":["cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2024.8.5","versionType":"custom"},{"version":"2024.10.0-rc1","status":"affected","lessThan":"2024.10.3","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-21T20:44:55.487746Z","id":"CVE-2024-52289","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-11-21T20:50:00.471Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-09-23T18:21:58.900Z"},"references":[{"url":"https://www.vicarius.io/vsociety/posts/cve-2024-52289-detect-authentik-vulnerability"},{"url":"https://www.vicarius.io/vsociety/posts/cve-2024-52289-mitigate-authentik-vulnerability"}],"title":"CVE Program Container","x_generator":{"engine":"ADPogram 0.0.1"}}]}}