What’s Vulnerable › Vulnerabilities
CVE-2022-46145: authentik vulnerable to unauthorized user creation and potential account takeover
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-02 · updated 2026-06-17
- Weakness: CWE-287
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`.
Affected products
- goauthentik authentik: before 2022.10.2; from 2022.11 before 2022.11.2 — fixed in 2022.10.2, 2022.11.2
How to fix
Upgrade to a fixed version: goauthentik authentik 2022.10.2, 2022.11.2. Check the vendor advisory for mitigations.
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112
Get alerted when CVE-2022-46145 or the next vulnerability affects your stack