Skip to content
Heist/ feed
Back to feed
Medium

RefreshToken invalidation vulnerability

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-22492
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:01 UTC · Revision 1

Source evidence

RefreshToken invalidation vulnerability

core-osv · Original source

Published 11 Jan 2023, 19:42 UTC

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.

osv:CVE-2023-22492
Complete source record
{
  "id": "77e16ba9c33a69513d39b496587e0289ff96440ca1aa14c6f28696997ac4e6c3",
  "url": "https://osv.dev/vulnerability/CVE-2023-22492",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RefreshToken invalidation vulnerability",
    "summary": "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.",
    "evidence": "osv:CVE-2023-22492",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-22492",
      "aliases": [
        "CVE-2023-22492",
        "GHSA-6rrr-78xp-5jp8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zitadel/zitadel",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5b284f8c9ba65a88fb4d58ac6aa34be429b19e8e"
                },
                {
                  "fixed": "fc892c52a10cd4ffdac395747494f3a93a7494c2"
                },
                {
                  "introduced": "5c8cfa416721410e5786865c9ef40c3769205963"
                },
                {
                  "fixed": "301e22c4956ead6014a8179463c37263f7301a83"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.16.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.17.0"
                      },
                      {
                        "fixed": "2.17.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "301e22c4956ead6014a8179463c37263f7301a83"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fc892c52a10cd4ffdac395747494f3a93a7494c2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.17.2",
            "v2.16.3",
            "v2.17.1",
            "v2.16.2",
            "v2.17.0",
            "v2.16.1",
            "v2.16.0",
            "v2.15.0",
            "v2.14.5",
            "v2.14.4",
            "v2.14.3",
            "v2.14.2",
            "v2.14.1",
            "v2.14.0",
            "v2.13.1",
            "v2.13.0",
            "v2.12.0",
            "v2.11.1",
            "v2.11.0",
            "v2.8.2",
            "v2.10.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.1",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.3.4",
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22492.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.900753323Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22492.json",
        "https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-22492",
        "https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83",
        "https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-613"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22492.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-22492",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505081,
  "published_at": "2023-01-11T19:42:50.505+00:00"
}