{"id":"CVE-2025-31123","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-31123","generatedAt":"2026-10-28T03:42:03.341Z","title":"A vulnerability existed where expired keys can be used to retrieve tokens.","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.","published":"2025-03-31T20:15:16.000Z","lastModified":"2026-06-17T09:09:54.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"},"cwe":["CWE-324"],"affected":["zitadel/zitadel"],"epss":{"score":0.00404,"percentile":0.34508,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.40%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.63.9","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.64.6","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.65.7","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.66.16","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.67.13","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.68.9","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.69.9","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.70.8","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.71.6","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf","tags":["Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-31123","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}