# CVE-2025-53942: authentik has an insufficient check for account active status during OAuth/SAML authentication

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-07-22T14:31:12.000Z
- Modified: 2026-09-08T08:45:50.925Z
- Also known as: GHSA-9g4j-v8w5-7x42, BIT-AUTHENTIK-2025-53942, GO-2025-3822
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- goauthentik authentik: <= 2025.4.3, < 2025.4.4; >= 2025.6.0-rc1, < 2025.6.4; before 2025.4.4; from 2025.6.0 before 2025.6.4
- goauthentik.io (Go): before 0.0.0-20250722122105-7a4c6b9b50f8; all versions
- authentik (Bitnami): before 2025.4.4; from 2025.6.0 before 2025.6.4

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/goauthentik/authentik/security/advisories/GHSA-9g4j-v8w5-7x42> (advisory, vendor-advisory, web)
- <https://github.com/goauthentik/authentik/commit/7a4c6b9b50f8b837133a7a1fd2cb9b7f18a145cd> (fix, patch, web)
- <https://github.com/goauthentik/authentik/commit/c3629d12bfe3d32d3dc8f85c0ee1f087a55dde8f> (fix, patch, web)
- <https://github.com/goauthentik/authentik/commit/ce3f9e3763c1778bf3a16b98c95d10f4091436ab> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53942> (advisory, web)
- <https://github.com/goauthentik/authentik> (package)

## Sources

- CVE List: [CVE-2025-53942](https://www.cve.org/CVERecord?id=CVE-2025-53942), CVE Terms of Use, modified 2025-07-23
- GitHub Advisory Database: [GHSA-9g4j-v8w5-7x42](https://github.com/advisories/GHSA-9g4j-v8w5-7x42), CC-BY-4.0, modified 2026-04-17
- Go Vulnerability Database: [GO-2025-3822](https://pkg.go.dev/vuln/GO-2025-3822), CC-BY-4.0, modified 2026-04-17
- NVD: [CVE-2025-53942](https://nvd.nist.gov/vuln/detail/CVE-2025-53942), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-AUTHENTIK-2025-53942](https://osv.dev/vulnerability/BIT-AUTHENTIK-2025-53942), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-53942 · Whole record: https://cve.day/CVE-2025-53942.json · Rebuilt by cve.day 2026-11-25T22:59:01.621Z
