# CVE-2023-46249: authentik potential installation takeover when default admin user is deleted

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2023-10-31T15:20:35.166Z
- Modified: 2026-09-08T08:45:36.398Z
- Also known as: BIT-AUTHENTIK-2023-46249, GHSA-rjvp-29xq-f62w
- Weaknesses: CWE-287, CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- goauthentik authentik: < 2023.8.4; >= 2023.10.0, < 2023.10.2; from 2023.10.0 before 2023.10.2; before 2023.8.4
- authentik (Bitnami): before 2023.8.4; from 2023.10.0 before 2023.10.2

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w> (advisory, vendor-advisory)
- <https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0> (fix, patch)
- <https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc> (fix, patch)
- <https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2> (article, release-notes)
- <https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46249> (web)

## Sources

- CVE List: [CVE-2023-46249](https://www.cve.org/CVERecord?id=CVE-2023-46249), CVE Terms of Use, modified 2024-09-05
- NVD: [CVE-2023-46249](https://nvd.nist.gov/vuln/detail/CVE-2023-46249), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-AUTHENTIK-2023-46249](https://osv.dev/vulnerability/BIT-AUTHENTIK-2023-46249), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-46249 · Whole record: https://cve.day/CVE-2023-46249.json · Rebuilt by cve.day 2026-11-25T22:58:29.869Z
