Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flaw (Red Hat Red Hat build of Keycloak 26.2)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.43 % · percentile 38 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-653 — Improper Isolation or Compartmentalization
References
- https://access.redhat.com/errata/RHSA-2026:6475
- https://access.redhat.com/errata/RHSA-2026:6476
- https://access.redhat.com/errata/RHSA-2026:6477
- https://access.redhat.com/errata/RHSA-2026:6478
- https://access.redhat.com/security/cve/CVE-2026-4282
- https://bugzilla.redhat.com/show_bug.cgi?id=2448061
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4282.json
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | redhat-SADP |
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-hj93-h7pg-fh6v — Keycloak: Privilege escalation via forged authorization codes due to SingleUseObjectProvider isolation flaw
European references
- ENISA EUVD · EUVD-2026-18208
- GCVE · GCVE-0-2026-4282
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:*cpe:2.3:a:redhat:build_of_keycloak:26.2:*:*:*:text-only:*:*:*cpe:2.3:a:redhat:build_of_keycloak:26.2.15:*:*:*:text-only:*:*:*cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:text-only:*:*:*cpe:2.3:a:redhat:build_of_keycloak:26.4.11:*:*:*:text-only:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.15-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-18 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-18 < * |
| Red Hat · Red Hat build of Keycloak 26.2.15 | |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.11-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-14 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-14 < * |
| Red Hat · Red Hat build of Keycloak 26.4.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |