CVE-2022-46145 authentik vulnerable to unauthorized user creation and potential account takeover
Unauthenticated users can create accounts and potentially take over admin accounts via email verification flows in authentik.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-46145?
CVE-2022-46145 is a high-severity missing authorization vulnerability in goauthentik authentik, published on 2 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.is_authenticated`.
Which versions are affected by CVE-2022-46145?
1 open source package ship an affected version, including authentik. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
authentik Bitnami | All versions | 2022.10.2, 2022.11.2 |
Products include Goauthentik Authentik.
How do I fix CVE-2022-46145?
Upgrade authentik to a fixed version for your release line: 2022.10.2 or 2022.11.2.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-46145 being exploited?
There is no known exploitation of CVE-2022-46145 in the wild and no public exploit code.
Other vulnerabilities in goauthentik authentik
- CVE-2026-49448 authentik: SourceStage bypass via empty POST
- CVE-2023-46249 authentik potential installation takeover when default admin user is deleted
- CVE-2022-23555 authentik vulnerable to Improper Authentication via invitation URL token reuse
- CVE-2026-42849 authentik: Reflected XSS in SFE AutosubmitStage allows IDP account takeover
- CVE-2026-25227 authentik affected by Remote Code Execution via Context Key Injection in PropertyMapping Test Endpoint
Sources
Also known as BIT-authentik-2022-46145, GHSA-mjfw-54m5-fvjf.