Advisory

PYSEC-2025-237

Also known as: BIT-authentik-2025-64521, CVE-2025-64521, GHSA-xr73-jq5p-ch8r, GO-2025-4137

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.8, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2025-11-19 17:15 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

authentik-client

PyPI · All systems

Affected

  • introduced 2025.8.0, fixed 2025.8.5, introduced 2025.10.0, fixed 2025.10.2 (ecosystem)

Fixed versions

2025.8.5, 2025.10.2

Fix

  • Fixed version 2025.8.5
    pip install --upgrade authentik-client==2025.8.5
  • Fixed version 2025.10.2
    pip install --upgrade authentik-client==2025.10.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences