Vulnerability in Zitadel
CVE-2025-31123
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (30.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 30th percentile — 30.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Zitadel — versions >= 2.62.0, < 2.63.9, >= 2.64.0-rc.1, < 2.64.6, >= 2.65.0-rc.1, < 2.65.7
Weakness classification (CWE)
References
- github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf (Vendor Advisory)
- github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3 (Patch)
- github.com/zitadel/zitadel/releases/tag/v2.63.9 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.64.6 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.65.7 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.66.16 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.67.13 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.68.9 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.69.9 (Release Notes)
- github.com/zitadel/zitadel/releases/tag/v2.70.8 (Release Notes)
Frequently asked questions
- What is CVE-2025-31123?
- CVE-2025-31123 is a high-severity vulnerability in Zitadel, classified under Use of a Key Past its Expiration Date. CVSS score: 8.7/10. Published 2025-03-31.
- How severe is CVE-2025-31123?
- High severity. CVSS v3 base score is 8.7 out of 10.