CVE-2025-64708: Goauthentik.io Authentik's Invitation Expiry Is Delayed Vulnerability
MODERATECVE-2025-64708 is a MODERATE (CVSS 5.8) authentik's invitation expiry is delayed vulnerability (CWE-613: Insufficient Session Expiration) affecting Goauthentik.io libraries in the Go ecosystem. The issue involves authentik's invitation expiry is delayed by at least 5 minutes. Remediation is available by upgrading affected packages to version 0.0.0-20251119135424-6672e6aaa41e.
CVE-2025-64708 at a Glance
Security Impact
CVSS: 5.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2025-64708
To remediate this vulnerability, upgrade all affected Goauthentik.io dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade goauthentik.io to 0.0.0-20251119135424-6672e6aaa41e
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for goauthentik.io
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64708, inspect your project dependencies for Goauthentik.io:
inspect dependencies for goauthentik.io
Analyze the terminal output to locate any version of Goauthentik.io in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20251119135424-6672e6aaa41e), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Goauthentik.io, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64708 Affected Goauthentik.io Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
goauthentik.io
|
Go |
< 0.0.0-20251119135424-6672e6aaa41e
|
0.0.0-20251119135424-6672e6aaa41e
|
References
Frequently Asked Questions
What is CVE-2025-64708?
Which Goauthentik.io versions are affected?
What version fixes CVE-2025-64708?
Is goauthentik.io affected?
What is the CVSS score of CVE-2025-64708?
What CWE is associated with CVE-2025-64708?
How can I check Go dependencies for CVE-2025-64708?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ch7q-53v8-73pc",
"modified" : "2025-11-19T18:47:08Z",
"published" : "2025-11-19T18:47:07Z",
"aliases" : [ "CVE-2025-64708" ],
"summary" : "authentik's invitation expiry is delayed by at least 5 minutes",
"details" : "### Summary\n\nIn 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.\n\n### Patches\n\nauthentik 2025.8.5 and 2025.10.2 fix this issue; for other versions the workaround below can be used.\n\n### Workarounds\n\nUsers 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.\n\n```python\nreturn not context['flow_plan'].context['invitation'].is_expired\n```\n\n### For more information\n\nIf users have any questions or comments about this advisory:\n\n- Email the authentik team at [security@goauthentik.io](mailto:security@goauthentik.io).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "goauthentik.io"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20251119135424-6672e6aaa41e"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/goauthentik/authentik/security/advisories/GHSA-ch7q-53v8-73pc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64708"
}, {
"type" : "WEB",
"url" : "https://github.com/goauthentik/authentik/commit/6672e6aaa41e0f2c9bfb1e4d8b51cf114969e830"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/goauthentik/authentik"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-19T18:47:07Z",
"nvd_published_at" : "2025-11-19T17:15:52Z"
}
}