CVE-2025-53942 Details
Description
authentik is an open-source Identity Provider that emphasizes flexibility and versatility, with support for a wide set of protocols. In versions 2025.4.4 and earlier, as well as versions 2025.6.0-rc1 through 2025.6.3, deactivated users who registered through OAuth/SAML or linked their accounts to OAuth/SAML providers can still retain partial access to the system despite their accounts being deactivated. They end up in a half-authenticated state where they cannot access the API but crucially they can authorize applications if they know the URL of the application. To workaround this issue, developers can add an expression policy to the user login stage on the respective authentication flow with the expression of return request.context["pending_user"].is_active. This modification ensures that the return statement only activates the user login stage when the user is active. This issue is fixed in versions authentik 2025.4.4 and 2025.6.4.
A vulnerability exists in authentik, an open-source Identity Provider, allowing deactivated users who registered through or linked to OAuth/SAML providers to retain partial system access. Affected versions include 2025.4.4 and earlier, as well as 2025.6.0-rc1 through 2025.6.3. These users enter a half-authenticated state where they cannot access the API but can authorize applications if they know the application's URL. This issue arises from insufficient checks on account active status during authentication with OAuth/SAML sources.
Users can upgrade to authentik versions 2025.4.4 or 2025.6.4, both of which address this vulnerability. Additionally, an expression policy can be added to the user login stage of the relevant authentication flow to ensure that only active users are allowed to log in.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| goauthentik authentik | < 2025.4.4 >= 2025.6.0, < 2025.6.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 21, 2025 | Initial Analysis | [email protected] |
| Jul 23, 2025 | New CVE Received | [email protected] |