CVE-2023-46249: authentik - Privilege Escalation
- Cve: CVE-2023-46249
- Name: authentik - Privilege Escalation
- 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.
- Impact: Attackers can set the default admin password without authentication, potentially gaining full administrative access.
- Remediation: Update to versions 2023.8.4 or 2023.10.2, or ensure the default admin user exists with a strong password and is deactivated if not in use.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00795
- Epss percentile: 0.57359
- Assignee: [email protected]
- Published at: 2023-10-31T16:15:09Z
- Age in days: 1120
- Modified at: 2026-06-17T06:30:31Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-46249
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
| CWE-306 | Missing Authentication for Critical Functionality |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| goauthentik:authentik | >= 2023.10.0, < 2023.10.2; < 2023.8.4 | no | nvd | /v1/products/goauthentik/authentik |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| goauthentik/authentik | commit, fix, releases, security_advisory | yes | /v1/repositories/goauthentik/authentik |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts