SecurityContext

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

IdName
CWE-287Improper Authentication
CWE-306Missing Authentication for Critical Functionality

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0Patch
https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fcPatch
https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62wVendor Advisory
https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2Release Notes
https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
goauthentik:authentik>= 2023.10.0, < 2023.10.2; < 2023.8.4nonvd/v1/products/goauthentik/authentik

Projects

RepositoryLink kindsIndexedUrl
goauthentik/authentikcommit, fix, releases, security_advisoryyes/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