authentik allows a deactivated Service account to authenticate to OAuth
Moderate severity
GitHub Reviewed
Published
Nov 19, 2025
in
goauthentik/authentik
•
Updated Nov 19, 2025
Package
Affected versions
< 0.0.0-20251119140106-9dbdfc3f1be0
Patched versions
0.0.0-20251119140106-9dbdfc3f1be0
Description
Published by the National Vulnerability Database
Nov 19, 2025
Published to the GitHub Advisory Database
Nov 19, 2025
Reviewed
Nov 19, 2025
Last updated
Nov 19, 2025
Summary
When authenticating with
client_idandclient_secretto 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.Patches
authentik 2025.8.5 and 2025.10.2 fix this issue, for other versions the workaround below can be used.
Workarounds
You can add a policy to your application that explicitly checks if the service account is still valid, and deny access if not.
For more information
If you have any questions or comments about this advisory:
References