CVE-2025-31123 Zitadel Expired JWT Keys Usable for Authorization Grants
Attackers can use expired JWT keys to obtain valid access tokens, bypassing authentication controls in Zitadel identity infrastructure.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31123?
CVE-2025-31123 is a high-severity authentication bypass vulnerability in zitadel, published on 31 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-324
Which versions are affected by CVE-2025-31123?
It affects 1 product.
Products include Zitadel Zitadel.
How do I fix CVE-2025-31123?
No fix has been published for CVE-2025-31123 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-31123 being exploited?
There is no known exploitation of CVE-2025-31123 in the wild and no public exploit code.
Other vulnerabilities in zitadel
- CVE-2026-29191 ZITADEL: 1-Click Account Takeover via XSS in /saml-post Endpoint
- CVE-2025-67494 ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login
- CVE-2025-27507 IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations
- CVE-2025-64103 Zitadel Bypass Second Authentication Factor
- CVE-2024-29891 ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
Sources
Also known as GHSA-h3q7-347g-qwhf.