CVE-2026-9795
published high CVSS 3.1 · 7.3Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.13-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-19 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-19 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4.13 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.4-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6.4 | Unaffected | Not required | redhat |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.13-1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-19 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-19 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4.13 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.4-2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-8 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-8 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6.4 | Unaffected | Not required | redhat-SADP |
Description
A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management permissions can exploit this vulnerability to assign any realm role, including highly privileged roles, to a client's scope mapping. This bypasses intended security controls, allowing the injected role to be projected into a user's authentication token when they access the modified client. This could lead to unauthorized privilege escalation within the Keycloak realm.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.13-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-19 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-19 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4.13 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6.4-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.13-1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-19 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-19 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.4.13 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6.4-2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-8 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-8 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Keycloak 26.6.4 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-266 Incorrect Privilege Assignment
- CWE-266 Incorrect Privilege Assignment
References
7- RHSA-2026:30049 https://access.redhat.com/errata/RHSA-2026:30049
- RHSA-2026:30050 https://access.redhat.com/errata/RHSA-2026:30050
- RHSA-2026:30083 https://access.redhat.com/errata/RHSA-2026:30083
- RHSA-2026:30084 https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/security/cve/CVE-2026-9795
- RHBZ#2482462 https://bugzilla.redhat.com/show_bug.cgi?id=2482462
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json
Provider assertions
3redhat · cna
Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
redhat-SADP · adp
keycloak: Keycloak: Privilege escalation via improper scope mapping enforcement
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ff70f41d989dec1f5c9053622807c078f06c39254d96467d5df6558df53ca22a
- Ingested
- 23 Sep 2026, 09:41:39 UTC
- Source record
- Official CVE record