Loading...
Skip to main content

CVE-2025-53942 — Vulnerability in goauthentik.io — CVE Details

HIGH

Authentik has insufficient check for account active status when authenticating with OAuth/SAML Sources

Published July 22, 2025Updated April 17, 2026Source: osv

Summary

### Summary Deactivated users that had either enrolled via OAuth/SAML or had their account connected to an OAuth/SAML account can still partially access authentik even if their account is 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. ### Patches authentik 2025.4.4 and 2025.6.4 fix this issue. ### Workarounds Adding an expression policy to the user login stage on the respective authentication flow with the expression of ```py return request.context["pending_user"].is_active ``` This expression will only activate the user login stage when the user is active. ### For more information If you have any questions or comments about this advisory: - Email us at [security@goauthentik.io](mailto:security@goauthentik.io).

Advisory Timeline

  • First published July 22, 2025 (447 days ago).
  • Last revised April 17, 2026 — 269 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update goauthentik.io to 0.0.0-20250722122105-7a4c6b9b50f8 or later
go get goauthentik.io@v0.0.0-20250722122105-7a4c6b9b50f8

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
goauthentik.io
go
All versions0.0.0-20250722122105-7a4c6b9b50f8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-269
    Improper Privilege ManagementMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Frequently Asked Questions

What is CVE-2025-53942?
Authentik has insufficient check for account active status when authenticating with OAuth/SAML Sources This vulnerability has been assigned a severity rating of HIGH (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2025-53942?
CVE-2025-53942 affects goauthentik.io. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-53942 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-9g4j-v8w5-7x42
BIT-authentik-2025-53942
GO-2025-3822

Related CVEs

  • CVE-2024-42490
    CRITICAL

    GoAuthentik vulnerable to Insufficient Authorization for several API endpoints

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-47201
    HIGH

    authentik's XML Signature Wrapping in SAML Source ACS allows authentication as arbitrary federated user

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies