Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-46249

CRITICAL 9.7EPSS 65%

authentik potential installation takeover when default admin user is deleted

Mitigation

  • Upgrade authentik to 2023.10.2 or later.

Who should check

  • Anyone running goauthentik authentik < 2023.8.4; >= 2023.10.0, < 2023.10.2

Vulnerability facts

Affected
goauthentik authentik < 2023.8.4; >= 2023.10.0, < 2023.10.2
Fixed in
goauthentik authentik 2023.8.4, goauthentik authentik 2023.10.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.08% chance of exploitation in 30 days (percentile 65, 2026-11-26)
CWE
CWE-287
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
goauthentik authentik< 2023.8.4; >= 2023.10.0, < 2023.10.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-46249. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-46249.md
Affected: goauthentik authentik < 2023.8.4; >= 2023.10.0, < 2023.10.2
Fixed in: goauthentik authentik 2023.8.4, goauthentik authentik 2023.10.2

Steps:
1. Search this machine and project for goauthentik authentik: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-46249 being exploited?

There is no confirmed exploitation: CVE-2023-46249 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-46249?

Critical: CVSS 9.7 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2023-46249?

goauthentik authentik < 2023.8.4; >= 2023.10.0, < 2023.10.2.

Is there a fix for CVE-2023-46249?

Yes. Fixed in goauthentik authentik 2023.8.4, goauthentik authentik 2023.10.2. Upgrade authentik to 2023.10.2 or later.

How do I check if I'm affected by CVE-2023-46249?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors