CVE-2025-31123
JSON

8.7high

Zitadel Expired JWT Keys Usable for Authorization Grants

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
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, >= 2.67.0-rc.1, < 2.67.13, >= 2.68.0-rc.1, < 2.68.9, >= 2.69.0-rc.1, < 2.69.9, >= 2.70.0-rc.1, < 2.70.8 and 10 moreCVE List, NVD

Classification

CWE-324

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Zitadel es un software de infraestructura de identidad de código abierto. Existía una vulnerabilidad que permitía usar claves caducadas para recuperar tokens. En concreto, ZITADEL no verificaba correctamente la fecha de caducidad de la clave JWT al usarla para concesiones de autorización. Esto permitía a un atacante con una clave caducada obtener tokens de acceso válidos. Esta vulnerabilidad no afecta el uso del perfil JWT para la autenticación de cliente OAuth 2.0 en los endpoints de token e introspección, que rechazan correctamente las claves caducadas. Esta vulnerabilidad se ha corregido en las versiones 2.71.6, 2.70.8, 2.69.9, 2.68.9, 2.67.13, 2.66.16, 2.65.7, 2.64.6 y 2.63.9.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31123 changed 2025-03-31CVE Terms of Use
NVDCVE-2025-31123 changed 2026-06-17Public domain