CVE-2026-9795
Keycloak: keycloak: privilege escalation via improper scope mapping enforcement
Что произошло
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.
Что это значит
В источнике описана ошибка безопасности в перечисленных продуктах. Фактический риск зависит от установленной версии, конфигурации и доступности компонента; проверьте условия в первичном бюллетене.
Что делать
1. Проверьте, затронуты ли вы
Соберите инвентаризацию и сравните с таблицей затронутых версий. Эти команды только показывают установленные компоненты и сами по себе не доказывают наличие CVE.
dpkg-query -W -f='${Package} ${Version}\n'rpm -qa --qf '%{NAME}\t%{VERSION}-%{RELEASE}\n'Get-HotFix | Select-Object HotFixID, InstalledOn
2. Установите исправление
RHSA-2026:30050: Red Hat build of Keycloak 26.4
RHSA-2026:30084: Red Hat build of Keycloak 26.6
RHSA-2026:30049: Red Hat build of Keycloak 26.4.13
RHSA-2026:30083: Red Hat build of Keycloak 26.6.4
3. Временные меры
To mitigate this issue, disable the Fine-Grained Admin Permissions (FGAPv2) feature in Keycloak if it is not strictly required. This can typically be done by setting `adminPermissionsEnabled` to `false` in the realm configuration. Disabling FGAPv2 will prevent the exploitation of this flaw by removing the vulnerable functionality. However, this may impact administrative delegation capabilities within Keycloak. A restart or reload of the Keycloak service may be required for the changes to take effect.
To mitigate this issue, disable the Fine-Grained Admin Permissions (FGAPv2) feature in Keycloak if it is not strictly required. This can typically be done by setting `adminPermissionsEnabled` to `false` in the realm configuration. Disabling FGAPv2 will prevent the exploitation of this flaw by removing the vulnerable functionality. However, this may impact administrative delegation capabilities within Keycloak. A restart or reload of the Keycloak service may be required for the changes to take effect.
4. Проверьте следы эксплуатации
Проверьте аномальные входы, новые учётные записи, ошибки и необычные дочерние процессы в затронутом сервисе. Публичные проверенные правила обнаружения не включены в запись; отсутствие сигналов не доказывает отсутствие компрометации.
5. После исправления
- Проверьте фактическую версию и результат установки по бюллетеню.
- При необходимости перезапустите сервисы в согласованное окно.
- Повторите проверку сканером и функциональные проверки.
- Зафиксируйте результат, дату, владельца и оставшийся риск.
Продукты и затронутые версии
Red Hat / Red Hat build of Keycloak 26.4
{
"status": "unaffected",
"version": "26.4.13-1",
"lessThan": "*",
"versionType": "rpm"
}cpe:/a:redhat:build_keycloak:26.4::el9
Red Hat / Red Hat build of Keycloak 26.4
{
"status": "unaffected",
"version": "26.4-19",
"lessThan": "*",
"versionType": "rpm"
}cpe:/a:redhat:build_keycloak:26.4::el9
Red Hat / Red Hat build of Keycloak 26.4.13
cpe:/a:redhat:build_keycloak:26.4::el9
Red Hat / Red Hat build of Keycloak 26.6
{
"status": "unaffected",
"version": "26.6.4-2",
"lessThan": "*",
"versionType": "rpm"
}cpe:/a:redhat:build_keycloak:26.6::el9
Red Hat / Red Hat build of Keycloak 26.6
{
"status": "unaffected",
"version": "26.6-8",
"lessThan": "*",
"versionType": "rpm"
}cpe:/a:redhat:build_keycloak:26.6::el9
Red Hat / Red Hat build of Keycloak 26.6.4
cpe:/a:redhat:build_keycloak:26.6::el9
CVSS: оценки и векторы
CVSS 3.1 · cve7.3
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
CVSS 3.1 · cve7.3
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
Классы CWE
Источники и ссылки
Происхождение полей
{
"cwes": [
"cve"
],
"epss": {
"source": "epss",
"received_at": "2026-11-01T21:13:25.809536+00:00"
},
"title": {
"source": "cve",
"received_at": "2026-10-28T20:55:15.622798+00:00"
},
"scores": [
"cve"
],
"status": {
"source": "cve",
"received_at": "2026-10-28T20:55:15.622798+00:00"
},
"affected": [
"cve"
],
"published": {
"source": "cve",
"received_at": "2026-10-28T20:55:15.622798+00:00"
},
"solutions": [
"cve"
],
"percentile": {
"source": "epss",
"received_at": "2026-11-01T21:13:25.809536+00:00"
},
"references": [
"cve"
],
"description": {
"source": "cve",
"received_at": "2026-10-28T20:55:15.622798+00:00"
},
"workarounds": [
"cve"
],
"configurations": []
}Хронология записи
- Данные обновлены02.11.2026, 00:13
- Данные обновлены31.10.2026, 12:00
- Данные обновлены29.10.2026, 12:47
- Опубликована28.10.2026, 23:55
Личная заметка и статус
Другие CVE того же продукта
| УЯЗВИМОСТЬ / ПРОДУКТ | ПРИОРИТЕТ | CVSS | EPSS | СИГНАЛЫ | ОПУБЛИКОВАНА | Карточка |
|---|---|---|---|---|---|---|
| CVE-2026-9086 Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass Red Hat / Red Hat build of Keycloak 26.4 · Red Hat / Red Hat build of Keycloak 26.4.13 | Высокий | 7.3 | 0,78 % | Патч | 25.06.2026 | |
| CVE-2026-9083 Keycloak: keycloak: information disclosure through arbitrary filesystem path probing Red Hat / Red Hat build of Keycloak 26.4 · Red Hat / Red Hat build of Keycloak 26.4.13 | Средний | 4.9 | 0,78 % | Патч | 25.06.2026 | |
| CVE-2026-9799 Keycloak: keycloak: unauthorized access to resources via uma permission ticket bypass Red Hat / Red Hat build of Keycloak 26.4 · Red Hat / Red Hat build of Keycloak 26.4.13 | Средний | 4.6 | 0,29 % | Патч | 25.06.2026 | |
| CVE-2026-9800 Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison Red Hat / Red Hat build of Keycloak 26.4 · Red Hat / Red Hat build of Keycloak 26.4.13 | Высокий | 8.1 | 0,65 % | Патч | 25.06.2026 | |
| CVE-2026-9705 Keycloak: keycloak: attacker can re-enable and take over disabled clients via registration access token Red Hat / Red Hat build of Keycloak 26.4 · Red Hat / Red Hat build of Keycloak 26.4.13 | Средний | 6.5 | 0,46 % | Патч | 25.06.2026 |