authentik deactivated service accounts can authenticate to OAuth
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
goauthentik.ioGo | < 0.0.0-20251119140106-9dbdfc3f1be0 | 0.0.0-20251119140106-9dbdfc3f1be0 |
Affected products
4- osv-coords3 versionspkg:bitnami/authentikpkg:golang/goauthentik.iopkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 0.0.0-20251119140106-9dbdfc3f1be0+ 2 more
- (no CPE)range: < 0.0.0-20251119140106-9dbdfc3f1be0
- (no CPE)range: < 0.0.0-20251119140106-9dbdfc3f1be0
- (no CPE)range: < 0.0.20251230T014957-150000.1.134.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-xr73-jq5p-ch8rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-64521ghsaADVISORY
- github.com/goauthentik/authentik/commit/9dbdfc3f1be0f1be36f8efce2442897b2a54a71cghsax_refsource_MISCWEB
- github.com/goauthentik/authentik/security/advisories/GHSA-xr73-jq5p-ch8rghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.