{"answers":{"affected":"5 open source packages ship an affected version, including goauthentik.io, authentik and authentik-client. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-64521 in the wild and no public exploit code.","fix":"Upgrade goauthentik.io to 0.0.0-20251119140106-9dbdfc3f1be0 or later.","what":"CVE-2025-64521 is a medium-severity authentication bypass vulnerability in goauthentik authentik, published on 19 Nov 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-64521 and fix it if it is affected.\n\nWhat it is: CVE-2025-64521 is a medium-severity authentication bypass vulnerability in goauthentik authentik, published on 19 Nov 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-64521 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- goauthentik.io (Go): affected all versions; no fix listed\n- goauthentik.io (Go): affected all versions; fixed in 0.0.0-20251119140106-9dbdfc3f1be0\n- goauthentik.io (Go): affected all versions; fixed in 0.0.0-20251119140106-9dbdfc3f1be0\n- authentik (Bitnami): affected all versions; fixed in 0.0.0-20251119140106-9dbdfc3f1be0, 2025.8.5, 2025.10.2\n- authentik-client (PyPI): affected from 2025.8.0; fixed in 2025.8.5, 2025.10.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-64521/ (Markdown: https://insights.sbomify.com/CVE-2025-64521/index.md)","id":"CVE-2025-64521","markdown":"https://insights.sbomify.com/CVE-2025-64521/index.md","name":"CVE-2025-64521","record":{"aliases":["BIT-authentik-2025-64521","GHSA-xr73-jq5p-ch8r","GO-2025-4137","PYSEC-2025-237"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Identity Provider","requires_auth":"high_privilege","summary":"Attackers can authenticate using deactivated service accounts in authentik OAuth providers, bypassing intended access restrictions.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"authentik","vendor":"goauthentik"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-289","name":"Authentication Bypass by Alternate Name"}],"description":"authentik is an open-source Identity Provider. Prior to versions 2025.8.5 and 2025.10.2, when authenticating with client_id and client_secret to an OAuth provider, authentik creates a service account for the provider. In previous authentik versions, authentication for this account was possible even when the account was deactivated. Other permissions are correctly applied and federation with other providers still take assigned policies correctly into account. authentik versions 2025.8.5 and 2025.10.2 fix this issue. A workaround involves adding a policy to the application that explicitly checks if the service account is still valid, and deny access if not.","ecosystems":["Bitnami","Go","PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"authentik deactivated service accounts can authenticate to OAuth","id":"CVE-2025-64521","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":5,"n_references":2,"next":{"headline":"Soft Serve is vulnerable to SSRF through its Webhooks","id":"CVE-2025-64522"},"packages":[{"ecosystem":"Bitnami","fixed":["0.0.0-20251119140106-9dbdfc3f1be0","2025.8.5","2025.10.2"],"introduced":["0","2000.0.0","2025.9.0"],"last_affected":[],"package":"authentik","purl":"pkg:bitnami/authentik","source":"BIT-authentik-2025-64521"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"goauthentik.io","purl":"pkg:golang/goauthentik.io","source":"GO-2025-4137"},{"ecosystem":"Go","fixed":["0.0.0-20251119140106-9dbdfc3f1be0"],"introduced":["0"],"last_affected":[],"package":"goauthentik.io","purl":null,"source":"GHSA-xr73-jq5p-ch8r"},{"ecosystem":"Go","fixed":["0.0.0-20251119140106-9dbdfc3f1be0"],"introduced":["0"],"last_affected":[],"package":"goauthentik.io","purl":"pkg:golang/goauthentik.io","source":"GHSA-xr73-jq5p-ch8r"},{"ecosystem":"PyPI","fixed":["2025.8.5","2025.10.2"],"introduced":["2025.8.0","2025.10.0"],"last_affected":[],"package":"authentik-client","purl":"pkg:pypi/authentik-client","source":"PYSEC-2025-237"}],"prev":{"headline":"GLPI vulnerable to unauthorized access to restricted Knowledge Base items through the API","id":"CVE-2025-64520"},"products":["authentik"],"published":"2025-11-19","related":[{"cvss_score":9.8,"headline":"authentik: SourceStage bypass via empty POST","id":"CVE-2026-49448","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":9.7,"headline":"authentik potential installation takeover when default admin user is deleted","id":"CVE-2023-46249","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":9.4,"headline":"authentik vulnerable to Improper Authentication via invitation URL token reuse","id":"CVE-2022-23555","kev_date_added":null,"published":"2022-12-28"},{"cvss_score":9.3,"headline":"authentik: Reflected XSS in SFE AutosubmitStage allows IDP account takeover","id":"CVE-2026-42849","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":9.1,"headline":"authentik affected by Remote Code Execution via Context Key Injection in PropertyMapping Test Endpoint","id":"CVE-2026-25227","kev_date_added":null,"published":"2026-02-12"},{"cvss_score":9.1,"headline":"authentik vulnerable to password authentication bypass via X-Forwarded-For HTTP header","id":"CVE-2024-47070","kev_date_added":null,"published":"2024-09-27"},{"cvss_score":9.1,"headline":"Insufficient user check in FlowTokens by Email stage","id":"CVE-2023-26481","kev_date_added":null,"published":"2023-03-04"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-19","vendors":["goauthentik"]},"summary":"Attackers can authenticate using deactivated service accounts in authentik OAuth providers, bypassing intended access restrictions.","url":"https://insights.sbomify.com/CVE-2025-64521/"}