CVE-2025-31123
zitadel vulnerability - zitadel
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.
Affected Systems
| Vendor | zitadel |
| Product | zitadel |
| Affected Versions | from 2.62.0 before 2.63.9; from 2.64.0 before 2.64.6; from 2.65.0 before 2.65.7; from 2.66.0 before 2.66.16; from 2.67.0 before 2.67.13 |
| CWE ID | CWE-324 |
Mitigation
Apply the latest security patches from the vendor, restrict network exposure where applicable, and monitor for exploitation attempts.
Fix Instructions
Refer to the vendor advisory and apply the latest security updates. See references for detailed patching instructions.
References
- https://github.com/zitadel/zitadel/commit/315503beabd679f2e6...
- 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...
Risk Assessment
CVSS: 8.7/10
| Exploit Available | Unknown |
| Patch Available | Yes |
Need Help Patching?
Our security team can help assess and remediate this vulnerability in your environment.
Get HelpStay Ahead of Threats
Subscribe to our vulnerability feed and get instant alerts when new CVEs affect your systems.
Start Monitoring