CVE-2025-31123

Zitadel Expired JWT Keys Usable for Authorization Grants

State
Published
Severity
8.7 High
Published
Mar 31, 2025
Updated
Mar 31, 2025
Reserved
Mar 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.7 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-324 Use of a Key Past its Expiration Date

Affected Products

ProductVersions
zitadelzitadel
  • >= 2.62.0, < 2.63.9Affected
  • >= 2.64.0-rc.1, < 2.64.6Affected
  • >= 2.65.0-rc.1, < 2.65.7Affected
  • >= 2.66.0-rc.1, < 2.66.16Affected
  • >= 2.67.0-rc.1, < 2.67.13Affected
  • >= 2.68.0-rc.1, < 2.68.9Affected
  • >= 2.69.0-rc.1, < 2.69.9Affected
  • >= 2.70.0-rc.1, < 2.70.8Affected
  • >= 2.71.0-rc.1, < 2.71.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.