Keycloak: keycloak: privilege escalation via improper scope mapping enforcement (Red Hat Red Hat build of Keycloak 26.4)
En bref
- Source
- NVD
- EPSS
- EPSS 0.35 % · centile 29 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Modified
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-266 — Incorrect Privilege Assignment
Références
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/errata/RHSA-2026:30083
- https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/security/cve/CVE-2026-9795
- https://bugzilla.redhat.com/show_bug.cgi?id=2482462
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | redhat |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | redhat-SADP |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Avis
- GHSA-32h4-44jj-c5vx — Keycloak has privilege escalation via improper scope mapping enforcement
Références européennes
- ENISA EUVD · EUVD-2026-32710
- GCVE · GCVE-0-2026-9795
Avis du CERT-FR
- CERTFR-2026-AVI-0815 — Multiples vulnérabilités dans KeyCloak · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.13-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-19 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-19 < * |
| Red Hat · Red Hat build of Keycloak 26.4.13 | |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6.4-2 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-8 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-8 < * |
| Red Hat · Red Hat build of Keycloak 26.6.4 |
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 |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| 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 |