CVE-2025-53942 in Goauthentik Authentik
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 provider...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Goauthentik | Authentik | < 2025.4.4 ≥ 2025.6.0, < 2025.6.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-53942 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-277635-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2025-07-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-269: Improper Privilege Management
Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.
Related attack patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation via CWE-269
CAPEC-122 Privilege Abuse via CWE-269
CAPEC-233 Privilege Escalation via CWE-269
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in authentik versions 2025.4.4 and earlier, as well as versions 2025.6.0-rc1 through 2025.6.3, allows deactivated users who registered through OAuth/SAML or linked their accounts to OAuth/SAML providers to retain partial access to the system.
The vulnerability arises from improper handling of user account deactivation, specifically for users who have registered or linked their accounts via OAuth/SAML. Deactivated users can still access certain parts of the system, potentially leading to unauthorized access or data leakage.
Questions
What is CVE-2025-53942?
A vulnerability in authentik versions 2025.4.4 and earlier, as well as versions 2025.6.0-rc1 through 2025.6.3, allows deactivated users who registered through OAuth/SAML or linked their accounts to OAuth/SAML providers to retain partial access to the system.
What is the CVSS score for CVE-2025-53942?
CVE-2025-53942 has CVSS 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.8%.
Is CVE-2025-53942 actively exploited?
No confirmed active exploitation of CVE-2025-53942 as of 2026-09-25.
How do I remediate CVE-2025-53942?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-53942?
CVE-2025-53942 affects Goauthentik Authentik.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Goauthentik","product":"Authentik","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.