Описание
A flaw was found in the Client-Initiated Backchannel Authentication (CIBA) implementation of Keycloak. The CIBA endpoint fails to properly validate the sub parameter, allowing it to be stored as an additional request parameter. During the token issuance process, this injected value overwrites the legitimate subject identifier. This allows an attacker to authenticate as themselves but receive security tokens belonging to a different victim user, leading to unauthorized account access.
Отчет
The Red Hat Product Security team has assessed the severity of this vulnerability as Important, given that it allows for direct privilege escalation and unauthorized access to victim accounts. Successful exploitation allows an attacker to obtain access and ID tokens for any user in the realm without the victim's knowledge or interaction. The vulnerability's root cause is the improper handling and flattening of additional request parameters during the serialization of CIBA authentication requests, which allows a duplicate subject claim to overwrite the legitimate one.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Single Sign-On 7 | keycloak-services | Not affected | ||
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-operator-bundle | Fixed | RHSA-2026:95762 | 06.11.2026 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9 | Fixed | RHSA-2026:95762 | 06.11.2026 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9-operator | Fixed | RHSA-2026:95762 | 06.11.2026 |
| Red Hat build of Keycloak 26.6.8 | keycloak-services | Fixed | RHSA-2026:95761 | 06.11.2026 |
| Red Hat build of Keycloak 26.6.8 | rhbk/keycloak-rhel9 | Fixed | RHSA-2026:95761 | 06.11.2026 |
Показывать по
Дополнительная информация
Статус:
6.8 Medium
CVSS3
Связанные уязвимости
A flaw was found in the Client-Initiated Backchannel Authentication (CIBA) implementation of Keycloak. The CIBA endpoint fails to properly validate the sub parameter, allowing it to be stored as an additional request parameter. During the token issuance process, this injected value overwrites the legitimate subject identifier. This allows an attacker to authenticate as themselves but receive security tokens belonging to a different victim user, leading to unauthorized account access.
A flaw was found in the Client-Initiated Backchannel Authentication (C ...
A flaw was found in the Client-Initiated Backchannel Authentication (CIBA) implementation of Keycloak. The CIBA endpoint fails to properly validate the sub parameter, allowing it to be stored as an additional request parameter. During the token issuance process, this injected value overwrites the legitimate subject identifier. This allows an attacker to authenticate as themselves but receive security tokens belonging to a different victim user, leading to unauthorized account access.
ALT-PU-2026-21611: package `keycloak` update to version 26.8.2-alt1
ALT-PU-2026-21192: package `keycloak` update to version 26.8.2-alt1
6.8 Medium
CVSS3