What’s Vulnerable › Vulnerabilities

CVE-2025-31123: Zitadel Expired JWT Keys Usable for Authorization Grants

Description

Zitadel is open-source identity infrastructure software. A vulnerability existed where expired keys can be used to retrieve tokens. Specifically, ZITADEL fails to properly check the expiration date of the JWT key when used for Authorization Grants. This allows an attacker with an expired key to obtain valid access tokens. This vulnerability does not affect the use of JWT Profile for OAuth 2.0 Client Authentication on the Token and Introspection endpoints, which correctly reject expired keys. This vulnerability is fixed in 2.71.6, 2.70.8, 2.69.9, 2.68.9, 2.67.13, 2.66.16, 2.65.7, 2.64.6, and 2.63.9.

Affected products

How to fix

Upgrade to a fixed version: zitadel 2.63.9, 2.64.6, 2.65.7, 2.66.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-31123 or the next vulnerability affects your stack