---
id: CVE-2025-64521
aliases:
  - PYSEC-2025-237
  - BIT-authentik-2025-64521
  - GHSA-xr73-jq5p-ch8r
  - GO-2025-4137
title: >-
  authentik is an open-source Identity Provider. Prior to versions 2025.8.5 and
  2025.10.2, when authenticating with client_id and client_se…
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
  authent…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'
vendor: authentik-client
product: authentik-client
ecosystem: pip
affected:
  - 'authentik-client >= 2025.10.0, < 2025.10.2'
patched:
  - authentik-client 2025.10.2
published: '2025-11-19'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2025-237'
references:
  - url: >-
      https://github.com/goauthentik/authentik/commit/9dbdfc3f1be0f1be36f8efce2442897b2a54a71c
  - url: >-
      https://github.com/goauthentik/authentik/security/advisories/GHSA-xr73-jq5p-ch8r
tags:
  - osv
  - pip
epss: 0.0022
epssPercentile: 0.11196
ingestedAt: '2026-07-13T18:58:06.572Z'
---

## Overview

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.

## Affected packages

- `authentik-client >= 2025.10.0, < 2025.10.2`

## Remediation

Upgrade to a patched release:

- `authentik-client 2025.10.2`
