{"schemaVersion":3,"id":"CVE-2023-22492","aliases":["GHSA-6rrr-78xp-5jp8"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-01-11T19:42:50.505Z","modified":"2025-03-10T21:30:41.038Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","exploitability":4.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00599,"percentile":0.47932,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00599},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00599,"percentile":0.47932}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00599,"percentile":0.47932}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"}],"affected":[{"vendor":"github.com/zitadel","product":"zitadel","name":"github.com/zitadel/zitadel","label":"zitadel","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/zitadel/zitadel","purlType":"golang","versions":[{"text":"≥ 2.17.0, < 2.17.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.16.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.17.0, < 2.17.3 | ≥ 2.0.0, < 2.16.4","eol":null,"hubHref":null},{"vendor":"zitadel","product":"zitadel","name":"zitadel","label":"zitadel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 2.16.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.17.0, < 2.17.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.16.4 | ≥ 2.17.0, < 2.17.3","eol":null,"hubHref":"/vendor/zitadel/zitadel"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8","label":"github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83","label":"github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2","label":"github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22492","label":"nvd.nist.gov/vuln/detail/CVE-2023-22492","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/zitadel/zitadel","label":"github.com/zitadel/zitadel","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.16.4","label":"github.com/zitadel/zitadel/releases/tag/v2.16.4","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.17.3","label":"github.com/zitadel/zitadel/releases/tag/v2.17.3","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-01-11T19:42:50.505Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:30:41.038Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:17:47.924Z","stale":false,"partial":false}}