p PatchFirst

CVE-2025-64521

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.8 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • authentik

    Versions
    • < 2025.10.2: Affected
    • < 2025.8.5: Affected

    No fix published

  • authentik-client PyPI

    Versions
    • 2025.10.0
    • 2025.10.1
    • 2025.8.0
    • 2025.8.1
    • 2025.8.2
    • 2025.8.3
    • 2025.8.4
    Affected ranges
    • ECOSYSTEM: ≥ 2025.8.0, < 2025.8.5 ∪ ≥ 2025.10.0, < 2025.10.2

    Update to 2025.8.5; Update to 2025.10.2

Original sources

Check your server →