Vulnerability · Published Nov 19, 2025 · Assigned by GitHub_M
CVE-2025-64521authentik deactivated service accounts can authenticate to OAuth
Medium 4.8
In plain English
A medium-severity security flaw in authentik from goauthentik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | goauthentik.io | 0.0.0-20251119140106-9dbdfc3f1be0 | GHSA-xr73-jq5p-ch8r |
| Go | goauthentik.io | no fix listed | GO-2025-4137 |
| PyPI | authentik-client | 2025.10.2, 2025.8.5 | PYSEC-2025-237 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| goauthentik | authentik | < 2025.10.2< 2025.8.5 |
Weakness: CWE-289 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N