GitHub Advisoryadvisory · Go
GHSA-wxg7-w2v3-w38g ZITADEL: Missing Token Lifecyle Validation (`exp` and `iat`) in JWT IdP Provider
MEDIUM
Official page ↗
- Aliases
- CVE-2026-56664
- Ecosystem
- Go
- Packages
- github.com/zitadel/zitadel
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-613
- Reviewed
- 2026-06-18
Affected packages
• Go github.com/zitadel/zitadel: < 1.80.0-v2.20.0.20260615122908-fad02c6d9f45 → fixed in 1.80.0-v2.20.0.20260615122908-fad02c6d9f45
Description
Summary
A token lifecycle validation vulnerability was discovered in ZITADEL's external JWT Identity Provider (IdP) implementation.
ZITADEL enforces a 1-hour maximum token age freshness window (`maxAge`) calculated from the token's issue time. However, this safety check is guarded by a presence condition. If an incoming token omits the `iat` claim, the freshness check is entirely bypassed, allowing arbitrarily old tokens to pass authentication successfully.
Per the OIDC Core 1.0 specification, identity token validation pipelines must strictly handle and enforce session expiration. ZITADEL's silent acceptance of tokens missing these temporal constraints compromises session integrity.
Impact
An attacker in possession of a stale token lacking an `iat` claim can reuse it indefinitely without triggering the maximum age freshness invalidation.
Affected Versions
Systems running one of the following versions are affected:
• 4.x: `4.0.0` through `4.15.1` (including RC versions)
• 3.x: `3.0.0` through `3.4.11` (including RC versions)
Patches
The vulnerability has been addressed in the latest releases. ZITADEL now explicitly rejects tokens that lack an `iat` claim.
• 4.x: Upgrade to $\ge$ 4.15.2
• 3.x: Upgrade to $\ge$ 3.4.12
Workarounds
The recommended solution is to update ZITADEL to a patched version.
If an immediate upgrade is not feasible, ensure at the upstream Identity Provider level that your external IdP explicitly includes the `iat` claim in all signed JWTs.
Publication Note
This advisory covers a subset of the security issues originally published on ZITADEL's registry under this tracking ID. To adhere strictly to CVE formatting standards regarding independently fixable flaws, the original "Token Lifecycle Validation" disclosure has been split into two granular entries. This entry specifically tracks the missing `iat` claim logic, while a separate companion entry tracks the missing `exp` claim logic: GHSA-v77h-2w3m-94hx
Questions
If you have any questions or comments about this advisory, please email us at [email protected]
Credits
Thanks to Android-Login-Analysis, Jason Zhou and Pedro Giglioti for reporting this vulnerability.
Related
Weakness · not in database (1)
Alias · CVE (1)
- CVE-2026-56664 ZITADEL is an open source identity management platform. vulnerability
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-wxg7-w2v3-w38g web
- https://nvd.nist.gov/vuln/detail/CVE-2026-56664 advisory
- https://github.com/zitadel/zitadel/commit/4925fab849d39a88674485d937b79e54318b48a8 web
- https://github.com/zitadel/zitadel/commit/d1c3aa84af8fcb0f33910ada30b866f4afb551ac web
- https://github.com/zitadel/zitadel/commit/fad02c6d9f4587956f830d4536c64a9a94baa7ac web
- https://github.com/zitadel/zitadel package
- https://github.com/zitadel/zitadel/releases/tag/v3.4.12 web
- https://github.com/zitadel/zitadel/releases/tag/v4.15.2 web