CVE-2023-26481

Insufficient user check in FlowTokens by Email stage

Description

authentik is an open-source Identity Provider. Due to an insufficient access check, a recovery flow link that is created by an admin (or sent via email by an admin) can be used to set the password for any arbitrary user. This attack is only possible if a recovery flow exists, which has both an Identification and an Email stage bound to it. If the flow has policies on the identification stage to skip it when the flow is restored (by checking `request.context['is_restored']`), the flow is not affected by this. With this flow in place, an administrator must create a recovery Link or send a recovery URL to the attacker, who can, due to the improper validation of the token create, set the password for any account. Regardless, for custom recovery flows it is recommended to add a policy that checks if the flow is restored, and skips the identification stage. This issue has been fixed in versions 2023.2.3, 2023.1.3 and 2022.12.2.

Category

9.1
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.05%
Third-Party Advisory github.com
Affected: goauthentik authentik
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-26481?
CVE-2023-26481 has been scored as a critical severity vulnerability.
How to fix CVE-2023-26481?
To fix CVE-2023-26481, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-26481 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-26481 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-26481?
CVE-2023-26481 affects goauthentik authentik.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.