CVE-2022-46145: authentik vulnerable to unauthorized user creation and potential account takeover
authentik is an open-source identity provider. Versions prior to 2022.11.2 and 2022.10.2 are vulnerable to unauthorized user creation and potential account takeover. With the default flows, unauthenticated users can create new accounts in authentik. If a flow exists that allows for email-verified password recovery, this can be used to overwrite the email address of admin accounts and take over their accounts. authentik 2022.11.2 and 2022.10.2 fix this issue. As a workaround, a policy can be created and bound to the default-user-settings-flow flow with the contents return request.user.isauthenticated.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-46145?
CVE-2022-46145 is a vulnerability in the authentik open-source identity provider that allows unauthorized user creation and potential account takeover.
How can an attacker exploit CVE-2022-46145?
An attacker can exploit CVE-2022-46145 by using the default flows to create new accounts in authentik without authentication.
What is the severity of CVE-2022-46145?
CVE-2022-46145 has a severity level of 9.8 (Critical).
Which versions of authentik are affected by CVE-2022-46145?
Versions prior to 2022.11.2 and 2022.10.2 of authentik are affected by CVE-2022-46145.
How do I fix CVE-2022-46145?
To fix CVE-2022-46145, update to authentik version 2022.11.2 or 2022.10.2 or later.