CVE-2025-31123
published high CVSS 3.1 · 8.7Zitadel Expired JWT Keys Usable for Authorization Grants
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zitadel | — | zitadel>= 2.62.0, < 2.63.9 · >= 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zitadel | zitadel | >= 2.62.0, < 2.63.9 (affected)>= 2.64.0-rc.1, < 2.64.6 (affected)>= 2.65.0-rc.1, < 2.65.7 (affected)>= 2.66.0-rc.1, < 2.66.16 (affected)>= 2.67.0-rc.1, < 2.67.13 (affected)>= 2.68.0-rc.1, < 2.68.9 (affected)>= 2.69.0-rc.1, < 2.69.9 (affected)>= 2.70.0-rc.1, < 2.70.8 (affected)>= 2.71.0-rc.1, < 2.71.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-324 CWE-324: Use of a Key Past its Expiration Date
References
11- https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3
- https://github.com/zitadel/zitadel/releases/tag/v2.63.9
- https://github.com/zitadel/zitadel/releases/tag/v2.64.6
- https://github.com/zitadel/zitadel/releases/tag/v2.65.7
- https://github.com/zitadel/zitadel/releases/tag/v2.66.16
- https://github.com/zitadel/zitadel/releases/tag/v2.67.13
- https://github.com/zitadel/zitadel/releases/tag/v2.68.9
- https://github.com/zitadel/zitadel/releases/tag/v2.69.9
- https://github.com/zitadel/zitadel/releases/tag/v2.70.8
- https://github.com/zitadel/zitadel/releases/tag/v2.71.6
- https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf
Provider assertions
2GitHub_M · cna
Zitadel Expired JWT Keys Usable for Authorization Grants
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 34f537f417b9f6e7060ace0f029f153f41062637225684f15aaf4aeca05aa724
- Ingested
- 23 Sep 2026, 08:44:43 UTC
- Source record
- Official CVE record