CVE-2025-31123
CVE-2025-31123 is a high-severity vulnerability in Zitadel with a CVSS 3.x base score of 8.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-324.
Key facts
- Severity: High (CVSS 3.x base score 8.7)
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-8872
- Weakness: CWE-324
- Affected product: Zitadel
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-31123?
- 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.
- How severe is CVE-2025-31123?
- CVE-2025-31123 has a CVSS 3.x base score of 8.7, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2025-31123 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-31123?
- CVE-2025-31123 affects Zitadel. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-31123?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-31123 have an EU (EUVD) identifier?
- Yes. CVE-2025-31123 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-8872.
- When was CVE-2025-31123 published?
- CVE-2025-31123 was published on 2025-03-31 and last updated on 2026-06-17.
References
- 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
Affected products (1)
- cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
More vulnerabilities in Zitadel
- CVE-2025-64717 — Critical (CVSS 9.8): ZITADEL is an open source identity management platform. Starting in version 2.50.0 and prior to versions 2.71.19,…
- CVE-2025-64103 — Critical (CVSS 9.8): Starting from 2.53.6, 2.54.3, and 2.55.0, Zitadel only required multi factor authentication in case the login policy…
- CVE-2025-64102 — Critical (CVSS 9.8): Zitadel is open-source identity infrastructure software. Prior to 4.6.0, 3.4.3, and 2.71.18, an attacker can perform an…
- CVE-2026-29191 — Critical (CVSS 9.3): ZITADEL is an open source identity management platform. From version 4.0.0 to 4.11.1, a vulnerability in Zitadel's…
- CVE-2025-67494 — Critical (CVSS 9.3): ZITADEL is an open-source identity infrastructure tool. Versions 4.7.0 and below are vulnerable to an unauthenticated,…
- CVE-2025-27507 — Critical (CVSS 9.0): The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration.…
Other CWE-324 vulnerabilities
- CVE-2024-36031 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite of key expiration on…
- CVE-2025-2291 — High (CVSS 8.1): Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value,…
- CVE-2026-52809 — Medium (CVSS 6.8): Gogs is an open source self-hosted Git service. Prior to 0.14.3, password-reset tokens are generated using…
- CVE-2024-25679 — Medium (CVSS 6.5): In PQUIC before 5bde5bb, retention of unused initial encryption keys allows attackers to disrupt a connection with a…
- CVE-2025-33012 — Medium (CVSS 6.3): IBM Db2 10.5.0 through 10.5.11, 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux…
- CVE-2025-48813 — Medium (CVSS 6.3): Use of a key past its expiration date in Virtual Secure Mode allows an authorized attacker to perform spoofing locally.