{"id":"CVE-2023-22492","published":"2023-01-11T19:42:50Z","modified":"2025-03-10T21:30:41Z","title":"RefreshToken invalidation vulnerability","vendor":"zitadel","product":"zitadel","tier":"tail","description":{"text":"ZITADEL is a combination of Auth0 and Keycloak. RefreshTokens is an OAuth 2.0 feature that allows applications to retrieve new access tokens and refresh the user's session without the need for interacting with a UI. RefreshTokens were not invalidated when a user was locked or deactivated. The deactivated or locked user was able to obtain a valid access token only through a refresh token grant. When the locked or deactivated user’s session was already terminated (“logged out”) then it was not possible to create a new session. Renewal of access token through a refresh token grant is limited to the configured amount of time (RefreshTokenExpiration). As a workaround, ensure the RefreshTokenExpiration in the OIDC settings of your instance is set according to your security requirements. This issue has been patched in versions 2.17.3 and 2.16.4. ","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0065,"percentile":0.52116,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83","tags":["x_refsource_MISC"]},{"url":"https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":10.42},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"zitadel","affectedVersions":[{"vendor":"zitadel","product":"zitadel","versions":[">= 2.17.0, < 2.17.3",">= 2.0.0, < 2.16.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T21:00:16.231923Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/zitadel/zitadel","vulnerableRanges":[">=2.17.0, <2.17.3",">=2.0.0, <2.16.4"],"patched":["2.17.3","2.16.4"],"from":["GHSA-6rrr-78xp-5jp8"],"provenance":"source"}],"summary":{"text":"ZITADEL, the open-source identity and access management platform, has a flaw in its OAuth 2.0 refresh token handling where refresh tokens are not invalidated when a user is locked or deactivated. An attacker holding a refresh token for a locked or deactivated account can obtain a valid access token through a refresh token grant, with the ability to keep doing so until the configured RefreshTokenExpiration window ends, provided they have network access to the instance and possess that refresh token and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:55Z"},"euvd":{"id":"EUVD-2023-0370","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-85057","published":"2026-09-24","fixed":"1.80.0-v2.20.0.20260717062331-baf6ed501b68","kev":false},{"cve":"CVE-2026-85056","published":"2026-09-24","fixed":"1.80.0-v2.20.0.20260717062356-56f4798ed31f","kev":false},{"cve":"CVE-2022-36051","published":"2022-08-31","fixed":"2.2.0","kev":false,"link":{"from":"CVE-2022-36051","to":"CVE-2023-22492","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/zitadel/zitadel","fromFixed":"2.2.0","toFixed":"2.16.4","daysApart":133}]}},{"cve":"CVE-2023-22492","published":"2023-01-11","fixed":"2.17.3","kev":false},{"cve":"CVE-2023-44399","published":"2023-10-10","fixed":"2.37.3","kev":false,"link":{"from":"CVE-2023-22492","to":"CVE-2023-44399","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/zitadel/zitadel","fromFixed":"2.17.3","toFixed":"2.37.3","daysApart":272}]}},{"cve":"CVE-2023-47111","published":"2023-11-08","fixed":"2.40.5","kev":false},{"cve":"CVE-2023-49097","published":"2023-11-30","fixed":"2.41.6","kev":false}],"package":"Go:github.com/zitadel/zitadel"}}