CVE-2023-22492
RefreshToken invalidation vulnerability
Also known as GHSA-6rrr-78xp-5jp8
Mitigation
- Upgrade github.com/zitadel/zitadel to one of 2.17.3, 2.16.4 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/zitadel/zitadel (>= 2.17.0, < 2.17.3)
- Anyone running zitadel >= 2.17.0, < 2.17.3; >= 2.0.0, < 2.16.4
Vulnerability facts
- Affected
- github.com/zitadel/zitadel >= 2.17.0, < 2.17.3
- Fixed in
- 2.17.3, 2.16.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.68% chance of exploitation in 30 days (percentile 48, 2026-11-26)
- CWE
- CWE-613
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/zitadel/zitadel | >= 2.17.0, < 2.17.3 | 2.17.3, 2.16.4 | osv |
| zitadel | >= 2.17.0, < 2.17.3; >= 2.0.0, < 2.16.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-22492. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-22492.md Affected: github.com/zitadel/zitadel >= 2.17.0, < 2.17.3 Fixed in: 2.17.3, 2.16.4 Steps: 1. Search this machine and project for github.com/zitadel/zitadel (Go), zitadel: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-22492 being exploited?
There is no confirmed exploitation: CVE-2023-22492 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-22492?
Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-22492?
github.com/zitadel/zitadel >= 2.17.0, < 2.17.3.
Is there a fix for CVE-2023-22492?
Yes. Fixed in 2.17.3, 2.16.4. Upgrade github.com/zitadel/zitadel to one of 2.17.3, 2.16.4 (or later in the same release line).
How do I check if I'm affected by CVE-2023-22492?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.