Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/zitadel/zitadel
  4. ›
  5. GHSA-wxg7-w2v3-w38g

GHSA-wxg7-w2v3-w38g: ZITADEL: Missing Token Lifecyle Validation (`exp` and `iat`) in JWT IdP Provider

June 18, 2026

Two closely related token lifecycle validation vulnerabilities were discovered in ZITADEL’s external JWT Identity Provider (IdP) implementation.

Specifically, within the validation pipeline:

  • Missing Expiration (exp) Enforcement: 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.
  • Missing Issued-At (iat) Enforcement: ZITADEL enforces a 1-hour freshness window (maxAge) via the token’s issue time. However, this safety check is guarded by a presence condition. If a token omits the iat claim, the freshness check is entirely bypassed, allowing arbitrarily old tokens to pass.

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.

References

  • github.com/advisories/GHSA-wxg7-w2v3-w38g
  • github.com/zitadel/zitadel/commit/fad02c6d9f4587956f830d4536c64a9a94baa7ac
  • github.com/zitadel/zitadel/releases/tag/v3.4.12
  • github.com/zitadel/zitadel/releases/tag/v4.15.2
  • github.com/zitadel/zitadel/security/advisories/GHSA-wxg7-w2v3-w38g

Code Behaviors & Features

Detect and mitigate GHSA-wxg7-w2v3-w38g with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.80.0-v2.20.0.20260615122908-fad02c6d9f45

Fixed versions

  • 1.80.0-v2.20.0.20260615122908-fad02c6d9f45

Solution

Upgrade to version 1.80.0-v2.20.0.20260615122908-fad02c6d9f45 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

go/github.com/zitadel/zitadel/GHSA-wxg7-w2v3-w38g.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 10 Jul 2026 12:17:46 +0000.