Keycloak: keycloak: privilege escalation via forged authorization codes due to singleuseobjectprovider isolation flaw
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2.15-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-18 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-18 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2.15 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.11-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-14 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-14 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.11 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-services (Maven) | before 26.5.7 | 26.5.7 | Patch available | GHSA-hj93-h7pg-fh6v |
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.15-1 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-18 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-18 Patch available CNA
- Red Hat build of Keycloak 26.2.15 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.11-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-14 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-14 Patch available CNA
- Red Hat build of Keycloak 26.4.11 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.5.7 Fixed in 26.5.7 Patch available GHSA-hj93-h7pg-fh6v
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.2:*:*:*:text-only:*:*:* | 26.2 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.2.15:*:*:*:text-only:*:*:* | 26.2.15 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:text-only:*:*:* | 26.4 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_keycloak:26.4.11:*:*:*:text-only:*:*:* | 26.4.11 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.2:*:*:*:text-only:*:*:* Versions 26.2 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.2.15:*:*:*:text-only:*:*:* Versions 26.2.15 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:text-only:*:*:* Versions 26.4 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_keycloak:26.4.11:*:*:*:text-only:*:*:* Versions 26.4.11 Vulnerable ·Red Hat
Remediation
- Fix · GHSA-hj93-h7pg-fh6v org.keycloak:keycloak-services (Maven) Fixed in 26.5.7 Advisory →
Red Hat 4 advisories
- RHSA-2026:6478 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.11 Images Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:6476 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.2.15 Images Update
- Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:6477 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.11 Update
- Red Hat build of Keycloak 26.4.11
Show 1 more Red Hat advisories
- RHSA-2026:6475 Released 2026-04-02 · Red Hat rating ImportantRed Hat build of Keycloak 26.2.15 Update
- Red Hat build of Keycloak 26.2.15
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat build of Keycloak 26.2, Red Hat build of Keycloak 26.2.15 and 2 more products — RHSA-2026:6475
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-04036 Keycloak: keycloak: denial of service via excessive processing of openid connect scope parametersPriority MEDIUM 40
- TI-2026-04038 Keycloak: keycloak: uma policy bypass allows authenticated users to gain unauthorized access to victim-owned resources.Priority LOW 38
- TI-2026-03352 Keycloak: keycloak: information disclosure due to redirect_uri validation bypassPriority LOW 34
- Advisory ·
Red Hat build of Keycloak 26.2, Red Hat build of Keycloak 26.2.15 and 2 more products — RHSA-2026:6476
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-04036 Keycloak: keycloak: denial of service via excessive processing of openid connect scope parametersPriority MEDIUM 40
- TI-2026-04038 Keycloak: keycloak: uma policy bypass allows authenticated users to gain unauthorized access to victim-owned resources.Priority LOW 38
- TI-2026-03352 Keycloak: keycloak: information disclosure due to redirect_uri validation bypassPriority LOW 34
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.2 | Fixed | RHSA-2026:6476 |
| Red Hat build of Keycloak 26.2.15 | Fixed | RHSA-2026:6475 |
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:6478 |
| Red Hat build of Keycloak 26.4.11 | Fixed | RHSA-2026:6477 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-4282
- 2026-10-03 Alias added: GHSA-hj93-h7pg-fh6v
References
Advisory 7
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-4282 · CVE Program
- CVE-2026-4282 · NVD
- FIRST EPSS
- GHSA-hj93-h7pg-fh6v · GitHub Advisory Database · CC BY 4.0
- CVE-2026-4282 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences