CVE-2023-46249: authentik potential installation takeover when default admin user is deleted
CVE-2023-46249 affects 109 listed versions of authentik in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
authentik
109 of 214 listed versions are affected. Fixed in 2023.10.2, 2023.8.4. The newest release, 2026.8.7, is not affected.
2023.10.1 2023.10.0 2023.8.3 2023.8.2 2023.8.1 2023.8.0 2023.6.2 2023.6.1 2023.6.0 2023.5.6 2023.5.5 2023.5.4 2023.5.3 2023.5.2 2023.5.1 2023.5.0 2023.4.3 2023.4.2 2023.4.1 2023.4.0 2023.3.1 2023.3.0 2023.2.3 2023.2.2 2023.2.1 2023.2.0 2023.1.3 2023.1.2 2023.1.1 2023.1.0 2022.12.3 2022.12.2 2022.12.1 2022.12.0 2022.11.4 2022.11.3 2022.11.2 2022.11.1 2022.11.0 2022.10.4 2022.10.3 2022.10.2 2022.10.1 2022.10.0 2022.9.0 2022.8.2 2022.8.1 2022.7.3 2022.7.2 2022.7.1 2022.6.3 2022.6.2 2022.6.1 2022.5.3 2022.5.2 2022.5.1 2022.4.1 2022.3.3 2022.3.2 2022.3.1 and 49 more
What it is
authentik is an open-source Identity Provider. Prior to versions 2023.8.4 and 2023.10.2, when the default admin user has been deleted, it is potentially possible for an attacker to set the password of the default admin user without any authentication. authentik uses a blueprint to create the default admin user, which can also optionally set the default admin users' password from an environment variable. When the user is deleted, the `initial-setup` flow used to configure authentik after the first installation becomes available again. authentik 2023.8.4 and 2023.10.2 fix this issue. As a workaround, ensure the default admin user (Username `akadmin`) exists and has a password set. It is recommended to use a very strong password for this user, and store it in a secure location like a password manager. It is also possible to deactivate the user to prevent any logins as akadmin.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by GitHub on 31 October 2023. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2023-46249 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.