{"id":"CVE-2024-52289","aliases":["CVE-2024-52289","BIT-AUTHENTIK-2024-52289","GHSA-3q5w-6m3x-64gj"],"related":[],"kind":"vulnerability","state":"published","title":"authentik has an insecure default configuration for OAuth2 Redirect URIs","summary":"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 `\\.`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"authentik es un proveedor de identidad de código abierto. Las URI de redireccionamiento en el proveedor OAuth2 en authentik se verifican mediante una comparación de RegEx. Cuando no se configuran URI de redireccionamiento en un proveedor, authentik usará automáticamente el primer valor redirect_uri recibido como una URI de redireccionamiento permitida, sin escapar caracteres que tengan un significado especial en RegEx. De manera similar, la documentación tampoco tomó esto en consideración. Dado un proveedor con las URI de redireccionamiento configuradas en https://foo.example.com, un atacante puede registrar un dominio fooaexample.com y pasará la validación correctamente. authentik 2024.8.5 y 2024.10.3 solucionan este problema. Como workaround, al configurar proveedores OAuth2, asegúrese de escapar cualquier carácter comodín que no esté destinado a funcionar como comodín, por ejemplo, reemplace `.` con `\\.`.","source":"nvd"}],"published":"2024-11-21T17:18:41.161Z","modified":"2026-09-10T16:01:08.826Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.9,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.9,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-185"],"affected":[{"ranges":[{"version":"< 2024.8.5","status":"affected"},{"version":">= 2024.10.0-rc1, < 2024.10.3","status":"affected"}],"vendor":"goauthentik","product":"authentik","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2024.8.5","status":"affected"},{"type":"custom","introduced":"2024.10.0-rc1","fixed":"2024.10.3","status":"affected"}],"vendor":"goauthentik","product":"authentik","cpe":"cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2024.8.5"},{"status":"affected","introduced":"2024.10.0","fixed":"2024.10.3"}],"vendor":"goauthentik","product":"authentik","cpe":"cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2024.8.5"},{"type":"semver","introduced":"2024.10.0","status":"affected","fixed":"2024.10.3"}],"ecosystem":"Bitnami","package":"authentik","purl":"pkg:bitnami/authentik","source":"bitnami"}],"references":[{"url":"https://github.com/goauthentik/authentik/security/advisories/GHSA-3q5w-6m3x-64gj","tags":["advisory","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/goauthentik/authentik/commit/85bb638243c8d7ea42ddd3b15b3f51a90d2b8c54","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2024-52289-detect-authentik-vulnerability","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2024-52289-mitigate-authentik-vulnerability","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52289","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-11-21T20:44:55.487Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-52289","url":"https://www.cve.org/CVERecord?id=CVE-2024-52289","licence":"CVE Terms of Use","modified":"2025-09-23T18:21:58.900Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-52289","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52289","licence":"Public domain","modified":"2026-06-17T08:06:56.863Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AUTHENTIK-2024-52289","url":"https://osv.dev/vulnerability/BIT-AUTHENTIK-2024-52289","licence":"Apache-2.0","modified":"2026-09-10T16:01:08.826Z"}],"updatedAt":"2026-11-25T22:58:49.011Z","epss":{"score":0.01091,"percentile":0.66357,"date":"2026-12-01T12:00:22.000Z"}}