authentik is an open-source identity provider. From 2021.3.1 to before 2025.8.6, 2025.10.4, and 2025.12.4, when using delegated permissions, a User that has the permission Can view * Property Mapping or Can view Expression Policy is able to execute arbitrary code within the authentik server container through the test endpoint, which is intended to preview how a property mapping/policy works. authentik 2025.8.6, 2025.10.4, and 2025.12.4 fix this issue.
A user with delegated permission 'Can view * Property Mapping' or 'Can view Expression Policy' can invoke a test endpoint that is used to preview the behavior of a property mapping or expression-based policy. This endpoint does not impose adequate restrictions on executed code, allowing submission and execution of arbitrary expressions (CWE-94: Improper Control of Code Generation). As a result, the attacker gains the ability to execute arbitrary code directly in the context of the authentik server container.
An attacker can execute arbitrary code inside the authentik container, leading to complete takeover of the server instance — including disclosure of sensitive data, modification of configuration, and potential further movement in the environment (lateral movement).
authentik should be updated to version 2025.8.6, 2025.10.4, or 2025.12.4, which contain a fix for this issue. Details are available in official releases on GitHub and in advisory GHSA-qvxx-mfm6-626f.
Goauthentik authentik in versions from 2021.3.1 to (not including) 2025.8.6, 2025.10.4, and 2025.12.4
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HGoauthentik Authentik
APPGoauthentik2021.3.1 – 2025.8.6 (excl.)2025.10.0 – 2025.10.4 (excl.)2025.12.0 – 2025.12.4 (excl.)
Related vulnerabilities
XSS w AutosubmitStage komponentu SFE w Goauthentik Authentik
Pominięcie etapu uwierzytelniania (Source Stage) w Goauthentik Authentik
Pominięcie uwierzytelnienia przez nagłówek X-Forwarded-For w authentik
authentik — pominięcie uwierzytelnienia przy resetowaniu hasła admina
Authentik: przejęcie konta przez nieprawidłową walidację tokenu odzyskiwania