CVE-2023-46249

authentik potential installation takeover when default admin user is deleted

Description

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.

Categories

9.6
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.61%
Vendor Advisory github.com
Affected: goauthentik authentik
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-46249?
CVE-2023-46249 has been scored as a critical severity vulnerability.
How to fix CVE-2023-46249?
To fix CVE-2023-46249, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-46249 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-46249 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-46249?
CVE-2023-46249 affects goauthentik authentik.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.