CVE-2025-31123: zitadel Use of a Key Past its Expiration Date
Vulnerability summary
CVE-2025-31123 is a high (CVSS 8.7) Use of a Key Past its Expiration Date vulnerability in zitadel. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 32.3% of scored vulnerabilities.
Timeline
- 31-03-2025PublishedVulnerability first disclosed.
- 31-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.7HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
+0.01 pp
From 0.39% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Zitadel1 product
- zitadel≥ 2.64.0-rc.1, < 2.64.6 | ≥ 2.65.0-rc.1, < 2.65.7 | ≥ 2.66.0-rc.1, < 2.66.16 | ≥ 2.67.0-rc.1, < 2.67.13 | ≥ 2.68.0-rc.1, < 2.68.9 | ≥ 2.69.0-rc.1, < 2.69.9 | ≥ 2.70.0-rc.1, < 2.70.8 | ≥ 2.71.0-rc.1, < 2.71.6 | ≥ 2.62.0, < 2.63.9 | ≥ 2.64.0, < 2.64.6 | ≥ 2.65.0, < 2.65.7 | ≥ 2.66.0, < 2.66.16 | ≥ 2.67.0, < 2.67.13 | ≥ 2.68.0, < 2.68.9 | ≥ 2.69.0, < 2.69.9 | ≥ 2.70.0, < 2.70.8 | ≥ 2.71.0, < 2.71.6
1 vendor · 1 product
References
11 links- github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhfX Refsource CONFIRMVendor Advisory