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

Published Mar 31, 2025
·
Updated

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 Software

11 affected components
ZITADEL ZITADEL<2.63.9
ZITADEL ZITADEL>=2.64.6<2.71.6
ZITADEL ZITADEL>=2.62.0<2.63.9
ZITADEL ZITADEL>=2.64.0<2.64.6
ZITADEL ZITADEL>=2.65.0<2.65.7
ZITADEL ZITADEL>=2.66.0<2.66.16
ZITADEL ZITADEL>=2.67.0<2.67.13
ZITADEL ZITADEL>=2.68.0<2.68.9
ZITADEL ZITADEL>=2.69.0<2.69.9
ZITADEL ZITADEL>=2.70.0<2.70.8
ZITADEL ZITADEL>=2.71.0<2.71.6

Event History

Mar 31, 2025
CVE Published
via MITRE·07:31 PM
Data Sourced
via MITRE·07:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-31123?

CVE-2025-31123 is considered a significant vulnerability due to the potential misuse of expired keys for token retrieval.

2

How do I fix CVE-2025-31123?

To fix CVE-2025-31123, upgrade to Zitadel version 2.71.6 or later, or ensure you are using a version that has patched this vulnerability.

3

Which versions of Zitadel are affected by CVE-2025-31123?

Zitadel versions prior to 2.64.6 and between 2.64.6 and 2.71.6 are affected by CVE-2025-31123.

4

What type of attack is possible due to CVE-2025-31123?

CVE-2025-31123 allows attackers to exploit the software by using expired keys to retrieve unauthorized tokens.

5

Is there a workaround for CVE-2025-31123?

There is no documented workaround for CVE-2025-31123; upgrading to a patched version is required to mitigate the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203