High severity · published Mar 31, 2025
CVE-2025-31123
Zitadel is open-source identity infrastructure software
8.7
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ZI
Zitadel · Zitadel
2.62.0 before 2.63.9; 2.64.0 before 2.64.6; 2.65.0 before 2.65.7; 2.66.0 before 2.66.16; 2.67.0 before 2.67.13; 2.68.0 before 2.68.9; +3 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-31123
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-31123
Patch
https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3
Release Notes
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
More from Zitadel
9.8
CVE-2026-105207
ZITADEL before 4.17.3 Account Takeover via External IdP Linking
9.8
CVE-2025-64717
ZITADEL vulnerable to Account Takeover with deactivated Instance IdP
9.8
CVE-2025-64103
Zitadel Bypass Second Authentication Factor
9.8
CVE-2025-64102
Zitadel allows brute-forcing authentication factors
9.6
CVE-2026-105209
ZITADEL before 3.4.15 and 4.17.1 Cross-Organization Account Takeover via Passkey Enrollment
