Vulnerability · Published Mar 31, 2025 · Assigned by GitHub_M
CVE-2025-31123Zitadel Expired JWT Keys Usable for Authorization Grants
High 8.7
In plain English
A high-severity security flaw in zitadel from zitadel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-324 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf x_refsource_CONFIRM
- https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.63.9 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.64.6 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.65.7 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.66.16 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.67.13 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.68.9 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.69.9 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.70.8 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.71.6 x_refsource_MISC