{"id":"CVE-2025-64521","published":"2025-11-19T17:03:19Z","modified":"2025-11-19T21:09:40Z","title":"authentik deactivated service accounts can authenticate to OAuth","vendor":"goauthentik","product":"authentik","tier":"tail","description":{"text":"authentik is an open-source Identity Provider. Prior to versions 2025.8.5 and 2025.10.2, when authenticating with client_id and client_secret to an OAuth provider, authentik creates a service account for the provider. In previous authentik versions, authentication for this account was possible even when the account was deactivated. Other permissions are correctly applied and federation with other providers still take assigned policies correctly into account. authentik versions 2025.8.5 and 2025.10.2 fix this issue. A workaround involves adding a policy to the application that explicitly checks if the service account is still valid, and deny access if not.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14575,"provenance":"source"},"cwes":[{"id":"CWE-289","name":"Authentication Bypass by Alternate Name"}],"references":[{"url":"https://github.com/goauthentik/authentik/security/advisories/GHSA-xr73-jq5p-ch8r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/goauthentik/authentik/commit/9dbdfc3f1be0f1be36f8efce2442897b2a54a71c","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.92},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"goauthentik","affectedVersions":[{"vendor":"goauthentik","product":"authentik","versions":["< 2025.10.2","< 2025.8.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-19T21:09:31.811847Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"goauthentik.io","vulnerableRanges":["<0.0.0-20251119140106-9dbdfc3f1be0","all versions"],"patched":["0.0.0-20251119140106-9dbdfc3f1be0"],"from":["GHSA-xr73-jq5p-ch8r","GO-2025-4137"],"provenance":"source"},{"ecosystem":"PyPI","package":"authentik-client","vulnerableRanges":[">=2025.8.0, <2025.8.5",">=2025.10.0, <2025.10.2"],"patched":["2025.8.5","2025.10.2"],"from":["PYSEC-2025-237"],"provenance":"source"}],"summary":{"text":"authentik, an open-source Identity Provider, has a flaw in its OAuth provider handling where service accounts created for client_id and client_secret authentication remain able to authenticate after being deactivated. An attacker holding the credentials of a deactivated service account could authenticate to the OAuth provider, though other permissions and policy enforcement on federated providers still apply.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:16Z"},"euvd":{"id":"EUVD-2025-198186","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-53942","published":"2025-07-23","fixed":"0.0.0-20250722122105-7a4c6b9b50f8","kev":false},{"cve":"CVE-2025-64708","published":"2025-11-19","fixed":"0.0.0-20251119135424-6672e6aaa41e","kev":false,"link":{"from":"CVE-2025-64708","to":"CVE-2025-64521","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:goauthentik.io","fromFixed":"0.0.0-20251119135424-6672e6aaa41e","toFixed":"0.0.0-20251119140106-9dbdfc3f1be0","daysApart":0}]}},{"cve":"CVE-2025-64521","published":"2025-11-19","fixed":"0.0.0-20251119140106-9dbdfc3f1be0","kev":false},{"cve":"CVE-2026-47201","published":"2026-06-02","fixed":"0.0.0-20260528144335-a370d76d23c7","kev":false,"link":{"from":"CVE-2025-64521","to":"CVE-2026-47201","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:goauthentik.io","fromFixed":"0.0.0-20251119140106-9dbdfc3f1be0","toFixed":"0.0.0-20260528144335-a370d76d23c7","daysApart":195}]}},{"cve":"CVE-2024-23647","published":"2024-01-30","fixed":"2023.10.7","kev":false},{"cve":"CVE-2024-42490","published":"2024-08-22","fixed":"2024.6.4","kev":false}],"package":"Go:goauthentik.io"}}