CVE-2025-64521

authentik deactivated service accounts can authenticate to OAuth

State
Published
Severity
4.8 Medium
Published
Nov 19, 2025
Updated
Nov 19, 2025
Reserved
Nov 5, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-289 Authentication Bypass by Alternate Name

Affected Products

ProductVersions
authentikgoauthentik
  • < 2025.10.2Affected
  • < 2025.8.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.