Home / goauthentik / authentik / CVE-2025-53942
CVE-2025-53942: is it exploited, and which versions of goauthentik authentik are affected and fixed?
CVE-2025-53942 is a privilege escalation (improper privilege management) vulnerability in goauthentik authentik. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: goauthentik.io before 0.0.0-20250722122105-7a4c6b9b50f8 (GitHub advisory GHSA-9g4j-v8w5-7x42). Fixed in 0.0.0-20250722122105-7a4c6b9b50f8 (GitHub advisory GHSA-9g4j-v8w5-7x42). Severity: High (7.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-53942?
authentik has an insufficient check for account active status during OAuth/SAML authentication
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.
From the CVE record by GitHub_M, last updated July 23, 2025, 20:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| goauthentik | authentik | <= 2025.4.3, < 2025.4.4 >= 2025.6.0-rc1, < 2025.6.4 |
As the CVE record by GitHub_M states it, last updated July 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | goauthentik.io | < 0.0.0-20250722122105-7a4c6b9b50f8 | 0.0.0-20250722122105-7a4c6b9b50f8 | GHSA-9g4j-v8w5-7x42 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 23, 2025. Summary: Authentik has insufficient check for account active status when authenticating with OAuth/SAML Sources.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| goauthentik | authentik | before 2025.4.4 | application |
| goauthentik | authentik | from 2025.6.0 before 2025.6.4 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:39 UTC.
How severe is CVE-2025-53942?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 4.0 | 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 | GitHub_M |
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-53942 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 23, 2025)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- https://github.com/goauthentik/authentik/security/advisories/GHSA-9g4j-v8w5-7x42 x_refsource_CONFIRM
- https://github.com/goauthentik/authentik/commit/7a4c6b9b50f8b837133a7a1fd2cb9b7f18a145cd x_refsource_MISC
- https://github.com/goauthentik/authentik/commit/c3629d12bfe3d32d3dc8f85c0ee1f087a55dde8f x_refsource_MISC
- https://github.com/goauthentik/authentik/commit/ce3f9e3763c1778bf3a16b98c95d10f4091436ab x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 14, 2025
- Published
- July 23, 2025, 20:35 UTC
- CVE record updated
- July 23, 2025, 20:49 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:39 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect authentik?
- Sep 24, 2026CVE-2026-94606 goauthentik authentik: authentication bypass (improper authentication)
- Sep 24, 2026CVE-2026-94609 goauthentik authentik: privilege escalation (improper privilege management)
- Sep 24, 2026CVE-2026-94611 goauthentik authentik: information disclosure
- Sep 24, 2026CVE-2026-94612 goauthentik authentik: authentication bypass (improper authentication)
- Sep 24, 2026CVE-2026-94613 goauthentik authentik: denial of service (resources allocated without limits)
- Aug 18, 2026CVE-2026-57580 goauthentik authentik: interpretation Conflict
- Aug 18, 2026CVE-2026-55106 goauthentik authentik: missing authorization
- Aug 18, 2026CVE-2026-61574 goauthentik authentik: authorization bypass through a user-controlled key (IDOR)
Questions about CVE-2025-53942
Is CVE-2025-53942 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.58% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of goauthentik authentik are affected by CVE-2025-53942?
goauthentik.io before 0.0.0-20250722122105-7a4c6b9b50f8, per the GitHub advisory GHSA-9g4j-v8w5-7x42. The tables above give every range the sources list.
Which version fixes CVE-2025-53942?
0.0.0-20250722122105-7a4c6b9b50f8, per the GitHub advisory GHSA-9g4j-v8w5-7x42. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-53942?
High (7.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-53942?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.