# CVE-2025-31123: Zitadel Expired JWT Keys Usable for Authorization Grants

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2025-03-31T19:31:40.507Z
- Modified: 2026-06-17T09:09:53.807Z
- Weaknesses: CWE-324
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- 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; >= 2.71.0-rc.1, < 2.71.6; from 2.62.0 before 2.63.9; from 2.64.0 before 2.64.6; from 2.65.0 before 2.65.7; and 6 more

## References

- <https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf> (vendor-advisory)
- <https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3> (patch)
- <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> (release-notes)
- <https://github.com/zitadel/zitadel/releases/tag/v2.68.9> (release-notes)
- <https://github.com/zitadel/zitadel/releases/tag/v2.69.9> (release-notes)
- <https://github.com/zitadel/zitadel/releases/tag/v2.70.8> (release-notes)
- <https://github.com/zitadel/zitadel/releases/tag/v2.71.6> (release-notes)

## Sources

- CVE List: [CVE-2025-31123](https://www.cve.org/CVERecord?id=CVE-2025-31123), CVE Terms of Use, modified 2025-03-31
- NVD: [CVE-2025-31123](https://nvd.nist.gov/vuln/detail/CVE-2025-31123), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31123 · Whole record: https://cve.day/CVE-2025-31123.json · Rebuilt by cve.day 2026-11-25T22:58:55.746Z
