Advisory

GHSA-6rrr-78xp-5jp8

Also known as: CVE-2023-22492

Summary

Zitadel RefreshToken invalidation vulnerability

Details

Impact
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).

Patches
2.x versions are fixed on >= 2.17.3
2.16.x versions are fixed on >= 2.16.4

ZITADEL recommends upgrading to the latest versions available in due course.

Workarounds
Ensure the RefreshTokenExpiration in the OIDC settings of your instance is set according to your security requirements.

References

https://zitadel.com/docs/guides/manage/console/instance-settings#oidc-token-lifetimes-and-expiration

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-01-11 18:27 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.17.0, fixed 2.17.3 (semver)

Fixed versions

2.17.3

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.16.4 (semver)

Fixed versions

2.16.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences