Read the docs
TI-2023-00622 Aliases CVE-2023-0657GHSA-7fpj-9hr8-28vh

Keycloak: impersonation via logout token exchange

Priority LOW 16CWE-273Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-284.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.003 22nd percentileScored 2026-11-07
Fix Partial keycloak: 22.0.10, 24.0.3org.keycloak:keycloak-services (Maven): 22.0.10, 24.0.3Red Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—keycloakbefore 22.0.10; 23.0.0 to before 24.0.322.0.10, 24.0.3Patch availableCNA
Red HatRed Hat build of Keycloak 22—22.0.10-1Patch availableCNA
Red HatRed Hat build of Keycloak 22—22-13Patch availableCNA
Red HatRed Hat build of Keycloak 22—22-16Patch availableCNA
Red HatRed Hat build of Keycloak 22.0.10——Not affectedCNA
Red HatRed Hat Single Sign-On 7——No fix listedCNA
—org.keycloak:keycloak-services (Maven)before 22.0.1022.0.10Patch availableGHSA-7fpj-9hr8-28vh
—org.keycloak:keycloak-services (Maven)23.0.0 to before 24.0.324.0.3Patch availableGHSA-7fpj-9hr8-28vh
  • keycloak Vendor— Affected before 22.0.10; 23.0.0 to before 24.0.3 Fixed in 22.0.10, 24.0.3 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22.0.10-1 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-13 Patch available CNA
  • Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-16 Patch available CNA
  • Red Hat build of Keycloak 22.0.10 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • org.keycloak:keycloak-services (Maven) Vendor— Affected before 22.0.10 Fixed in 22.0.10 Patch available GHSA-7fpj-9hr8-28vh
  • org.keycloak:keycloak-services (Maven) Vendor— Affected 23.0.0 to before 24.0.3 Fixed in 24.0.3 Patch available GHSA-7fpj-9hr8-28vh

CPE names CNA · 3

CPEVersionsRoleVendor
cpe:/a:redhat:build_keycloak:22::el922—Red Hat
cpe:/a:redhat:build_keycloak:2222—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:77—Red Hat
  • cpe:/a:redhat:build_keycloak:22::el9 Versions 22 — ·Red Hat
  • cpe:/a:redhat:build_keycloak:22 Versions 22 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7 Versions 7 — ·Red Hat

Remediation

  • Fix · CNA keycloak Fixed in 22.0.10, 24.0.3
  • Fix · GHSA-7fpj-9hr8-28vh org.keycloak:keycloak-services (Maven) Fixed in 22.0.10 Advisory →
  • Fix · GHSA-7fpj-9hr8-28vh org.keycloak:keycloak-services (Maven) Fixed in 24.0.3 Advisory →

Red Hat 2 advisories

  • RHSA-2024:1867 Released 2024-04-16 · Red Hat rating Moderate
    Red Hat build of Keycloak 22.0.10 enhancement and security update
    • Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2024:1868 Released 2024-04-16 · Red Hat rating Important
    Red Hat build of Keycloak security update
    • Red Hat build of Keycloak 22.0.10

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Single Sign-On 7AffectedNo fix yet: Fix deferred
Red Hat build of Keycloak 22Fixed RHSA-2024:1867
Red Hat build of Keycloak 22.0.10Fixed RHSA-2024:1868

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-0657
  2. 2026-10-03 Alias added: GHSA-7fpj-9hr8-28vh

References

  • TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
See all 7413 →

Sources