CVE-2026-4282

Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flaw

State
Published
Severity
7.4 High
Published
Apr 2, 2026
Updated
Jul 15, 2026
Reserved
Mar 16, 2026

Read the record on cve.org

Description

A flaw was found in Keycloak. The SingleUseObjectProvider, a global key-value store, lacks proper type and namespace isolation. This vulnerability allows an unauthenticated attacker to forge authorization codes. Successful exploitation can lead to the creation of admin-capable access tokens, resulting in privilege escalation.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nredhat
3.17.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nredhat-SADP

Weaknesses

  • CWE-653 Improper Isolation or Compartmentalization

Affected Products

ProductVersions
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.15-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-18 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-18 and laterNot affected
Red Hat build of Keycloak 26.2.15Red Hat
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4.11-1 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-14 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-14 and laterNot affected
    Red Hat build of Keycloak 26.4.11Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.