# CVE-2023-0657: Keycloak: impersonation via logout token exchange

- Severity: Low 3.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2024-04-17T18:25:59.000Z
- Modified: 2026-09-10T03:50:12.435Z
- Also known as: GHSA-7fpj-9hr8-28vh
- Weaknesses: CWE-273, CWE-284, CWE-287, CWE-290, CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- keycloak: before 22.0.10; from 23.0.0 before 24.0.3
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 22.0.10-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 22-13 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 22-16 before *)
- org.keycloak:keycloak-services (Maven): before 22.0.10; from 23.0.0 before 24.0.3

## Every score

- redhat: CVSS:3.1 3.4 Low `CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.4 Low `CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2024:1867> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:1868> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2023-0657> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2166728> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-7fpj-9hr8-28vh> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-0657> (advisory)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2023-0657](https://www.cve.org/CVERecord?id=CVE-2023-0657), CVE Terms of Use, modified 2024-11-17
- GitHub Advisory Database: [GHSA-7fpj-9hr8-28vh](https://github.com/advisories/GHSA-7fpj-9hr8-28vh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-0657](https://nvd.nist.gov/vuln/detail/CVE-2023-0657), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-0657 · Whole record: https://cve.day/CVE-2023-0657.json · Rebuilt by cve.day 2026-11-25T22:58:34.374Z
