CVE-2025-64521

authentik deactivated service accounts can authenticate to OAuth

Published Nov 19, 2025 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xr73-jq5p-ch8r authentik allows a deactivated Service account to authenticate to OAuth
History
Type Values Removed Values Added
First Time appeared Goauthentik
Goauthentik authentik
CPEs cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
Vendors & Products Goauthentik
Goauthentik authentik
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title authentik deactivated service accounts can authenticate to OAuth
Weaknesses CWE-289
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 19, 2025, 9:09 PM
Reserved
Nov 5, 2025, 9:15 PM
Status
Analyzed
Published
Nov 19, 2025, 5:15 PM
Modified
Oct 18, 2026, 8:10 PM