CVE-2023-46249
published critical CVSS 3.1 · 9.7authentik potential installation takeover when default admin user is deleted
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.7 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| goauthentik | authentik | < 2023.8.4 (affected)>= 2023.10.0, < 2023.10.2 (affected) | GitHub_M · cna |
| goauthentik | authentik | 2023.10.0 to < 2023.10.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
5- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w
Provider assertions
3GitHub_M · cna
authentik potential installation takeover when default admin user is deleted
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5e732246e6ffebc6edeb01e52779041ae555c3fd614fd9e97a1bc9affdc2140a
- Ingested
- 23 Sep 2026, 08:12:41 UTC
- Source record
- Official CVE record