Home / Red Hat / Red Hat build of Keycloak 22 / CVE-2023-0657
CVE-2023-0657: is it exploited, and which versions of Red Hat build of Keycloak 22 are affected and fixed?
CVE-2023-0657 is a privilege escalation vulnerability in Red Hat build of Keycloak 22. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: org.keycloak:keycloak-services before 22.0.10 and org.keycloak:keycloak-services from 23.0.0 before 24.0.3 (GitHub advisory GHSA-7fpj-9hr8-28vh). Fixed in 22.0.10 and 24.0.3 (GitHub advisory GHSA-7fpj-9hr8-28vh). Severity: Low (3.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 28, 2026, 19:18 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2023-0657?
Keycloak: impersonation via logout token exchange
A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.
From the CVE record by redhat, last updated November 17, 2024, 16:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| keycloak | before 22.0.10 from 23.0.0 before 24.0.3 | 22.0.10, 24.0.3 | |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle | all versions (default) | 22.0.10-1 |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 | all versions (default) | 22-13 |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-rhel9-operator | all versions (default) | 22-16 |
| Red Hat | Red Hat build of Keycloak 22.0.10 keycloak | not stated | |
| Red Hat | Red Hat Single Sign-On 7 keycloak | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 22.0.10 | 22.0.10 | GHSA-7fpj-9hr8-28vh |
| Maven | org.keycloak:keycloak-services | >= 23.0.0, < 24.0.3 | 24.0.3 | GHSA-7fpj-9hr8-28vh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: Keycloak vulnerable to impersonation via logout token exchange.
How severe is CVE-2023-0657?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.4 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-0657 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 17, 2024)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-273 Improper Check for Dropped Privileges
- CWE-284 Improper Access Control
- CWE-287 Improper Authentication
- CWE-290 Authentication Bypass by Spoofing
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- RHSA-2024:1867 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1868 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-0657 vdb-entry, x_refsource_REDHAT
- RHBZ#2166728 issue-tracking, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- February 2, 2023
- Published
- November 17, 2024, 10:19 UTC
- CVE record updated
- November 17, 2024, 16:18 UTC by redhat
- NVD
- Deferred, last modified June 17, 2026, 05:26 UTC
- Last checked
- CVE list November 28, 2026, 19:18 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat build of Keycloak 22?
- Sep 19, 2024CVE-2024-8883 Red Hat Build of Keycloak: open redirect
- Sep 19, 2024CVE-2024-8698 Red Hat Build of Keycloak: cryptographic signature not verified
- Sep 9, 2024CVE-2024-7341 Red Hat Build of Keycloak: session fixation
- Sep 3, 2024CVE-2024-4629 Red Hat Build of Keycloak: improper Enforcement of a Single, Unique Action
- Jun 18, 2024CVE-2024-5967 Red Hat Build of Keycloak: insecure default permissions
- Jun 3, 2024CVE-2024-4540 Red Hat Build of Keycloak: sensitive data stored in clear text
- Apr 25, 2024CVE-2023-6787 Red Hat build of Keycloak 22: authentication bypass (improper authentication)
- Apr 25, 2024CVE-2023-6717 Red Hat AMQ Broker 7: cross-site scripting (XSS)
Every CVE in Red Hat build of Keycloak 22
Questions about CVE-2023-0657
Is CVE-2023-0657 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat build of Keycloak 22 are affected by CVE-2023-0657?
org.keycloak:keycloak-services before 22.0.10 and org.keycloak:keycloak-services from 23.0.0 before 24.0.3, per the GitHub advisory GHSA-7fpj-9hr8-28vh. The tables above give every range the sources list.
Which version fixes CVE-2023-0657?
22.0.10 and 24.0.3, per the GitHub advisory GHSA-7fpj-9hr8-28vh. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-0657?
Low (3.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2023-0657?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.