CVE-2025-64521 authentik deactivated service accounts can authenticate to OAuth
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| goauthentik.io(Go) | < 0.0.0-20251119140106-9dbdfc3f1be0; All versions | 0.0.0-20251119140106-9dbdfc3f1be0 | Partially fixed |
| goauthentik authentik | = < 2025.8.5; = < 2025.10.2; >= 2025.8.0, < 2025.8.5; >= 2025.10.0, < 2025.10.2 | 2025.8.5, 2025.10.2 | Fixed |
| pypi authentik-client(PyPI) | = 2025.8.0; = 2025.8.1; = 2025.8.2; = 2025.8.3 +5 more | 2025.8.5, 2025.10.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi authentik-client(PyPI) | >= 2025.8.0, < 2025.8.5 | 2025.8.5 |
| pypi authentik-client(PyPI) | >= 2025.10.0, < 2025.10.2 | 2025.10.2 |
| pypi authentik-client(PyPI) | = 2025.10.0 | No fix listed |
| pypi authentik-client(PyPI) | = 2025.10.1 | No fix listed |
| pypi authentik-client(PyPI) | = 2025.8.0 | No fix listed |
| pypi authentik-client(PyPI) | = 2025.8.1 | No fix listed |
| pypi authentik-client(PyPI) | = 2025.8.2 | No fix listed |
| pypi authentik-client(PyPI) | = 2025.8.3 | No fix listed |
| pypi authentik-client(PyPI) | = 2025.8.4 | No fix listed |
| goauthentik.io(Go) | < 0.0.0-20251119140106-9dbdfc3f1be0 | 0.0.0-20251119140106-9dbdfc3f1be0 |
| goauthentik.io(Go) | All versions | No fix listed |
| goauthentik authentik | = < 2025.10.2 | No fix listed |
| goauthentik authentik | = < 2025.8.5 | No fix listed |
| goauthentik authentik | >= 2025.8.0, < 2025.8.5 | 2025.8.5 |
| goauthentik authentik | >= 2025.10.0, < 2025.10.2 | 2025.10.2 |
References
- https://github.com/goauthentik/authentik/commit/9dbdfc3f1be0f1be36f8efce2442897b2a54a71c patch
- https://github.com/goauthentik/authentik/security/advisories/GHSA-xr73-jq5p-ch8r patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com