authentik deactivated service accounts can authenticate to OAuth
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| goauthentik | authentik | before 2025.10.2; before 2025.8.5 | 2025.10.2, 2025.8.5 | Patch available | CNA |
| — | goauthentik.io (Go) | before 0.0.0-20251119140106-9dbdfc3f1be0 | 0.0.0-20251119140106-9dbdfc3f1be0 | Patch available | GHSA-xr73-jq5p-ch8r |
- authentik Vendorgoauthentik Affected before 2025.10.2; before 2025.8.5 Fixed in 2025.10.2, 2025.8.5 Patch available CNA
- goauthentik.io (Go) Vendor— Affected before 0.0.0-20251119140106-9dbdfc3f1be0 Fixed in 0.0.0-20251119140106-9dbdfc3f1be0 Patch available GHSA-xr73-jq5p-ch8r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:* | 2025.8.0 to before 2025.8.5; 2025.10.0 to before 2025.10.2 | Vulnerable | goauthentik |
- cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:* Versions 2025.8.0 to before 2025.8.5; 2025.10.0 to before 2025.10.2 Vulnerable ·goauthentik
Remediation
- Fix · CNA authentik (goauthentik) Fixed in 2025.10.2, 2025.8.5
- Fix · GHSA-xr73-jq5p-ch8r goauthentik.io (Go) Fixed in 0.0.0-20251119140106-9dbdfc3f1be0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64521
- 2026-10-03 Alias added: GHSA-xr73-jq5p-ch8r
References
More goauthentik Authentik vulnerabilities
- TI-2026-36603 authentik: SourceStage bypass via empty POST CVSS 3.1CRITICAL 9.8
- TI-2022-07608 authentik vulnerable to Improper Authentication via invitation URL token reuse CVSS 3.1CRITICAL 9.4
- TI-2026-36598 authentik: `UserSourceConnection.user` and `GroupSourceConnection.group` are changeable through the API CVSS 3.1HIGH 8.8
- TI-2022-22816 authentik allows existing authenticated users to create arbitrary accounts CVSS 3.1MEDIUM 6.4
- TI-2024-25628 Insufficient access control for OAuth2 Device Code flow in authentik CVSS 3.1CRITICAL 9.8
- TI-2023-24876 authentik potential installation takeover when default admin user is deleted CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-64521 · CVE Program
- CVE-2025-64521 · NVD
- FIRST EPSS
- GHSA-xr73-jq5p-ch8r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences