{"id":"CVE-2023-22492","aliases":["GHSA-6rrr-78xp-5jp8"],"title":"Zitadel RefreshToken invalidation vulnerability","summary":"Zitadel RefreshToken invalidation vulnerability","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","vendor":"zitadel","product":"github.com/zitadel/zitadel","ecosystem":"go","affected":["github.com/zitadel/zitadel >= 2.17.0, < 2.17.3","github.com/zitadel/zitadel >= 2.0.0, < 2.16.4"],"patched":["github.com/zitadel/zitadel 2.17.3","github.com/zitadel/zitadel 2.16.4"],"published":"2023-01-11","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:51.101862263Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-6rrr-78xp-5jp8","references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22492"},{"url":"https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83"},{"url":"https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2"},{"url":"https://github.com/zitadel/zitadel"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.16.4"},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.17.3"}],"tags":["osv","go"],"epss":0.00599,"epssPercentile":0.47362,"ingestedAt":"2026-09-12T03:13:01.760Z","slug":"CVE-2023-22492","body":"## Overview\n\n### Impact\nRefreshTokens 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.\n\nRefreshTokens 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.\n\nWhen 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).\n\n### Patches\n2.x versions are fixed on >= [2.17.3](https://github.com/zitadel/zitadel/releases/tag/v2.17.3)\n2.16.x versions are fixed on >= [2.16.4](https://github.com/zitadel/zitadel/releases/tag/v2.16.4)\n\nZITADEL recommends upgrading to the latest versions available in due course.\n\n### Workarounds\nEnsure the RefreshTokenExpiration in the OIDC settings of your instance is set according to your security requirements.\n\n### References\n\nhttps://zitadel.com/docs/guides/manage/console/instance-settings#oidc-token-lifetimes-and-expiration\n\n\n## Affected packages\n\n- `github.com/zitadel/zitadel >= 2.17.0, < 2.17.3`\n- `github.com/zitadel/zitadel >= 2.0.0, < 2.16.4`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/zitadel/zitadel 2.17.3`\n- `github.com/zitadel/zitadel 2.16.4`","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}