CVE-2025-64521
Chainguard vulnerability analysis and mitigation

Overview

CVE-2025-64521 affects the OAuth authentication mechanism in authentik versions <= 2025.10.1 and <= 2025.8.4. The vulnerability allows deactivated service accounts to authenticate to OAuth providers when using clientid and clientsecret credentials. This issue was discovered and disclosed in November 2025 (GitHub Advisory).

Technical details

The vulnerability stems from improper user management in authentik's OAuth provider implementation. When authenticating with clientid and clientsecret, the system creates a service account but fails to properly validate the account's active status during authentication. While other permissions and federation policies are correctly enforced, the basic account status check is bypassed. The vulnerability has been assigned a CVSS v3.1 score of 4.8 (Moderate) with the following vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N (GitHub Advisory).

Impact

The vulnerability allows deactivated service accounts to maintain OAuth authentication capabilities despite being explicitly disabled. This could potentially lead to unauthorized access if administrators assume deactivated accounts are fully restricted. The impact is partially mitigated as other permissions and federation policies continue to function correctly (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in authentik versions 2025.8.5 and 2025.10.2. For users unable to upgrade, a workaround is available by adding a policy to the application that explicitly checks the service account's status using the Python code: 'return request.user.is_active'. This ensures deactivated accounts cannot authenticate (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Chainguard vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64751MEDIUM5.8
  • WolfiWolfi
  • openfga
NoYesNov 21, 2025
CVE-2025-58181MEDIUM5.3
  • cAdvisorcAdvisor
  • docker-compose
NoYesNov 19, 2025
CVE-2025-47914MEDIUM5.3
  • cAdvisorcAdvisor
  • kubernetes-fips-1.32
NoYesNov 19, 2025
CVE-2025-64708MEDIUM5.3
  • ChainguardChainguard
  • goauthentik.io
NoYesNov 19, 2025
CVE-2025-64521MEDIUM4.8
  • ChainguardChainguard
  • authentik
NoYesNov 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management