CVE-2025-31123 Zitadel Expired JWT Keys Usable for Authorization Grants
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zitadel github.com/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 +14 more | 2.63.9, 2.64.6, 2.65.7, 2.66.16, 2.67.13, 2.68.9, 2.69.9, 2.70.8, 2.71.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zitadel github.com/zitadel/zitadel | = >= 2.62.0, < 2.63.9 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.64.0-rc.1, < 2.64.6 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.65.0-rc.1, < 2.65.7 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.66.0-rc.1, < 2.66.16 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.67.0-rc.1, < 2.67.13 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.68.0-rc.1, < 2.68.9 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.69.0-rc.1, < 2.69.9 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.70.0-rc.1, < 2.70.8 | No fix listed |
| zitadel github.com/zitadel/zitadel | = >= 2.71.0-rc.1, < 2.71.6 | No fix listed |
| zitadel github.com/zitadel/zitadel | >= 2.62.0, < 2.63.9 | 2.63.9 |
| zitadel github.com/zitadel/zitadel | >= 2.64.0, < 2.64.6 | 2.64.6 |
| zitadel github.com/zitadel/zitadel | >= 2.65.0, < 2.65.7 | 2.65.7 |
| zitadel github.com/zitadel/zitadel | >= 2.66.0, < 2.66.16 | 2.66.16 |
| zitadel github.com/zitadel/zitadel | >= 2.67.0, < 2.67.13 | 2.67.13 |
| zitadel github.com/zitadel/zitadel | >= 2.68.0, < 2.68.9 | 2.68.9 |
| zitadel github.com/zitadel/zitadel | >= 2.69.0, < 2.69.9 | 2.69.9 |
| zitadel github.com/zitadel/zitadel | >= 2.70.0, < 2.70.8 | 2.70.8 |
| zitadel github.com/zitadel/zitadel | >= 2.71.0, < 2.71.6 | 2.71.6 |
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf vendor-advisory
- https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3 patch
- https://github.com/zitadel/zitadel/releases/tag/v2.63.9 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.64.6 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.65.7 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.66.16 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.67.13 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.68.9 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.69.9 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.70.8 release-notes
- https://github.com/zitadel/zitadel/releases/tag/v2.71.6 release-notes