PT-2023-29928 · Authentik · Authentik
Devsparkle
·
Published
2023-10-31
·
Updated
2026-04-16
·
CVE-2023-46249
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
authentik versions prior to 2023.8.4 and 2023.10.2
Description
authentik is an open-source Identity Provider. 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 user's password from an environment variable. The
initial-setup flow used to configure authentik after the first installation becomes available again when the user is deleted.Recommendations
To resolve the issue, update to version 2023.8.4 or 2023.10.2.
As a temporary 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.Exploit
Fix
Improper Authentication
Missing Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Authentik