CVE-2025-31123 in Zitadel
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 t...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Zitadel | Zitadel | ≥ 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+3 more≥ 2.69.0, < 2.69.9 ≥ 2.70.0, < 2.70.8 ≥ 2.71.0, < 2.71.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-31123 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-041267-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| Published | 2025-03-31 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-324: CWE-324
Analysis AI-written, not human-reviewed
A vulnerability in Zitadel allows the use of expired keys to retrieve valid access tokens, compromising the security of the authorization process.
The vulnerability exists in the JWT key validation process for Authorization Grants, where expired keys are not properly checked, enabling attackers to obtain valid access tokens using expired keys.
Questions
What is CVE-2025-31123?
A vulnerability in Zitadel allows the use of expired keys to retrieve valid access tokens, compromising the security of the authorization process.
What is the CVSS score for CVE-2025-31123?
CVE-2025-31123 has CVSS 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N. EPSS: 0.7%.
Is CVE-2025-31123 actively exploited?
No confirmed active exploitation of CVE-2025-31123 as of 2026-09-25.
How do I remediate CVE-2025-31123?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-31123?
CVE-2025-31123 affects Zitadel Zitadel.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Zitadel","product":"Zitadel","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.