CVE-2025-31123

HIGH
Published Mar 31, 2025 Modified Aug 26, 2025 CWE-324

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.

CVSS v3.1 Score

8.7
HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Weakness Type (CWE)

CWE-324 CWE-324

Affected Products

Vendor Product
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel

References

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. It has a CVSS v3.1 base score of 8.7 (HIGH).
How severe is CVE-2025-31123? +
CVE-2025-31123 has a CVSS v3.1 score of 8.7 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-31123? +
CVE-2025-31123 affects products from zitadel, specifically: zitadel. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-31123? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-31123 — free, no signup required.

Start Free Scan