# CVE-2025-64521: authentik deactivated service accounts can authenticate to OAuth

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-11-19T17:03:19.703Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-xr73-jq5p-ch8r, BIT-AUTHENTIK-2025-64521, GO-2025-4137, PYSEC-2025-237
- Weaknesses: CWE-286, CWE-289
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- goauthentik authentik: < 2025.10.2; < 2025.8.5; from 2025.8.0 before 2025.8.5; from 2025.10.0 before 2025.10.2
- goauthentik.io (Go): before 0.0.0-20251119140106-9dbdfc3f1be0; all versions
- authentik-client (PyPI): from 2025.8.0 before 2025.8.5; from 2025.10.0 before 2025.10.2
- authentik (Bitnami): before 0.0.0-20251119140106-9dbdfc3f1be0; from 2000.0.0 before 2025.8.5; from 2025.9.0 before 2025.10.2

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/goauthentik/authentik/security/advisories/GHSA-xr73-jq5p-ch8r> (advisory, fix, patch, third-party-advisory, web)
- <https://github.com/goauthentik/authentik/commit/9dbdfc3f1be0f1be36f8efce2442897b2a54a71c> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64521> (advisory, web)
- <https://github.com/goauthentik/authentik> (package)

## Sources

- CVE List: [CVE-2025-64521](https://www.cve.org/CVERecord?id=CVE-2025-64521), CVE Terms of Use, modified 2025-11-19
- GitHub Advisory Database: [GHSA-xr73-jq5p-ch8r](https://github.com/advisories/GHSA-xr73-jq5p-ch8r), CC-BY-4.0, modified 2026-07-13
- Go Vulnerability Database: [GO-2025-4137](https://pkg.go.dev/vuln/GO-2025-4137), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-64521](https://nvd.nist.gov/vuln/detail/CVE-2025-64521), Public domain, modified 2026-10-18
- PyPA Advisory Database: [PYSEC-2025-237](https://osv.dev/vulnerability/PYSEC-2025-237), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-AUTHENTIK-2025-64521](https://osv.dev/vulnerability/BIT-AUTHENTIK-2025-64521), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-64521 · Whole record: https://cve.day/CVE-2025-64521.json · Rebuilt by cve.day 2026-11-25T22:59:07.832Z
