{"id":"CVE-2026-56665","aliases":["GHSA-v77h-2w3m-94hx","GO-2026-6469"],"title":"ZITADEL: Missing Token Expiration (`exp`) Validation in JWT IdP Provider","summary":"ZITADEL: Missing Token Expiration (`exp`) Validation in JWT IdP Provider","severity":"medium","cvss":4.2,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","vendor":"zitadel","product":"github.com/zitadel/zitadel","ecosystem":"go","affected":["github.com/zitadel/zitadel >= 4.0.0-rc.1, < 4.15.2","github.com/zitadel/zitadel < 3.4.12"],"patched":["github.com/zitadel/zitadel 4.15.2","github.com/zitadel/zitadel 3.4.12"],"published":"2026-09-11","updated":"2026-09-17","sourceUpdated":"2026-09-17T17:40:56.149590734Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-v77h-2w3m-94hx","references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-v77h-2w3m-94hx"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56665"},{"url":"https://github.com/zitadel/zitadel/commit/4925fab849d39a88674485d937b79e54318b48a8"},{"url":"https://github.com/zitadel/zitadel/commit/d1c3aa84af8fcb0f33910ada30b866f4afb551ac"},{"url":"https://github.com/zitadel/zitadel"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v3.4.12"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v4.15.2"},{"url":"https://github.com/advisories/GHSA-v77h-2w3m-94hx"}],"tags":["osv","go","ghsa"],"epss":0.00266,"epssPercentile":0.18777,"cwe":["CWE-613"],"ingestedAt":"2026-09-12T00:03:49.069Z","slug":"CVE-2026-56665","body":"## Overview\n\n### Summary\n\nA token lifecycle validation vulnerability was discovered in ZITADEL's external JWT Identity Provider (IdP) implementation\nSpecifically, within the validation pipeline, if an incoming JWT omits the `exp` claim entirely, the expiration block is silently skipped rather than rejected. The token is treated as valid forever.\n\nPer 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.\n\n### Impact\n\nAn attacker in possession of a token lacking an `exp` claim holds a permanent credential with no automatic expiration or revocation window.\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n\n* **4.x**: `4.0.0` through `4.15.1` (including RC versions)\n* **3.x**: `3.0.0` through `3.4.11` (including RC versions)\n\n### Patches\n\nThe vulnerability has been addressed in the latest releases. ZITADEL now explicitly rejects tokens that lack an `exp` claim.\n\n* **4.x**: Upgrade to $\\ge$ [4.15.2](https://github.com/zitadel/zitadel/releases/tag/v4.15.2)\n* **3.x**: Upgrade to $\\ge$ [3.4.12](https://github.com/zitadel/zitadel/releases/tag/v3.4.12)\n\n### Workarounds\n\nThe recommended solution is to update ZITADEL to a patched version.\n\nIf an immediate upgrade is not feasible, ensure at the upstream Identity Provider level that an external IdP explicitly includes the `exp` claim in all signed JWTs.\n\n### Publication Note\n\nThis issue was originally disclosed as part of a unified security bulletin published under [GHSA-wxg7-w2v3-w38g](https://github.com/zitadel/zitadel/security/advisories/GHSA-wxg7-w2v3-w38g). To satisfy CVE Numbering Authority regulations regarding independently fixable logic flaws, the missing token expiration validation (`exp`) has been moved into this separate tracking entry so a distinct CVE ID can be correctly mapped to it.\n\n### Questions\n\nIf there are any questions or comments about this advisory, send an email to [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nZITADEL thanks [Android-Login-Analysis](https://github.com/Android-Login-Analysis), Jason Zhou and [Pedro Giglioti](https://github.com/Punisher100) for reporting this vulnerability.\n\n## Affected packages\n\n- `github.com/zitadel/zitadel >= 4.0.0-rc.1, < 4.15.2`\n- `github.com/zitadel/zitadel < 3.4.12`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/zitadel/zitadel 4.15.2`\n- `github.com/zitadel/zitadel 3.4.12`","depth":"sunlit","depthScore":23,"depthScoreParts":{"impact":23.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}