# CVE-2023-22492: RefreshToken invalidation vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-613
- **Aliases:** GHSA-6rrr-78xp-5jp8
- **Published:** 2023-01-11T18:27:48.000Z
- **Modified:** 2026-09-10T03:49:51.101Z

## 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

## 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

- Go `github.com/zitadel/zitadel`: affected \>= 2.17.0, \< 2.17.3; fixed 2.17.3, 2.16.4 (osv)
- zitadel: \>= 2.17.0, \< 2.17.3; \>= 2.0.0, \< 2.16.4 (cvelist)

## Mitigation

- Upgrade github.com/zitadel/zitadel to one of 2.17.3, 2.16.4 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-22492>
- patch: <https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83>
- patch: <https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2>
- other: <https://github.com/zitadel/zitadel>
- other: <https://github.com/zitadel/zitadel/releases/tag/v2.16.4>
- other: <https://github.com/zitadel/zitadel/releases/tag/v2.17.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-22492>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6rrr-78xp-5jp8> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-22492> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-22492>
