8.7
HIGH
CVE-2025-31123
Zitadel JWT Key Expiration Bypass
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.

INFO

Published Date :

March 31, 2025, 8:15 p.m.

Last Modified :

April 1, 2025, 8:26 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2025-31123 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Zitadel zitadel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-31123 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-31123 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Mar. 31, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
    Added CWE CWE-324
    Added Reference https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.63.9
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.64.6
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.65.7
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.66.16
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.67.13
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.68.9
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.69.9
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.70.8
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.71.6
    Added Reference https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-31123 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-31123 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability