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

Published Nov 19, 2025
·
Updated

Summary

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.

Patches

authentik 2025.8.5 and 2025.10.2 fix this issue; for other versions the workaround below can be used.

Workarounds

Users can create a policy that explicitly checks whether the invitation is still valid, and then bind it to the invitation stage on your invitation flow, and deny access if the invitation is not valid.

python return not context['flowplan'].context['invitation'].isexpired

For more information

If users have any questions or comments about this advisory:

- Email the authentik team at security@goauthentik.io.

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
Authentik Authentik<2025.8.5, <2025.10.2
go/goauthentik.io<0.0.0-20251119135424-6672e6aaa41e
0.0.0-20251119135424-6672e6aaa41e
goauthentik Authentik>=2025.8.0<2025.8.5
goauthentik Authentik>=2025.10.0<2025.10.2

Event History

Nov 19, 2025
CVE Published
via MITRE·05:03 PM
Data Sourced
via MITRE·05:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:47 PM
Data Sourced
via GitHub·06:47 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-64708?

CVE-2025-64708 has a medium severity rating due to improper handling of expired invitations.

2

How do I fix CVE-2025-64708?

To fix CVE-2025-64708, update authentik to version 2025.8.5 or later, and 2025.10.2 or later.

3

What versions of authentik are affected by CVE-2025-64708?

Versions of authentik prior to 2025.8.5 and 2025.10.2 are affected by CVE-2025-64708.

4

What type of vulnerability is CVE-2025-64708?

CVE-2025-64708 is a credential management vulnerability related to the handling of invitation validity.

5

What risks are associated with CVE-2025-64708?

The risks associated with CVE-2025-64708 include unauthorized access due to acceptance of expired invitations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203