Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with own low-privilege account
-
DeliveryInitiate CIBA request with injected sub parameter
-
ExploitEndpoint stores attacker-controlled subject identifier
-
ExecutionToken issuance overwrites legitimate subject
-
PersistReceive tokens for victim user
-
ImpactAccess victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires a Keycloak / Red Hat Single Sign-On deployment that has the Client-Initiated Backchannel Authentication (CIBA) grant enabled and in use; this is an opt-in OpenID Connect flow, not a default configuration, which materially limits the exposed population. The attacker must hold valid low-privilege credentials able to initiate a CIBA authentication request (PR:L - authenticated), and the flaw is then triggered by injecting a 'sub' request parameter that the CIBA endpoint fails to validate and that overwrites the legitimate subject during token issuance. No end-user interaction is needed (UI:N). The attack is network-reachable (AV:N) but rated high-complexity (AC:H) by the vendor; the precise condition behind that complexity is not described in the available sources. |
| Impact | This is a moderate-priority flaw whose real-world risk sits below its account-takeover impact because of meaningful exploitation prerequisites. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N) describes a network-reachable but high-complexity attack that requires the attacker to already hold valid low-privilege credentials (PR:L) - so this is authenticated, not an unauthenticated internet-facing break. The confidentiality and integrity impact is high (C:H/I:H) because a successful attack yields security tokens for a victim user, effectively an account takeover, with no availability impact (A:N). Red Hat assigned the 6.8 score and the vuln.today decision label is 'this_month', not 'act_now' or 'emergency', indicating it should be remediated on a normal priority cycle rather than treated as a fire. No EPSS probability was provided, the CVE is not listed in CISA KEV, and the references are only the Red Hat advisory and Bugzilla entry - no public exploit identified at time of analysis. The main caveat is that AC:H's underlying trigger mechanism is not described in the available sources; the description explains the logical flaw (unvalidated sub parameter overwriting the subject during token issuance) but not why Red Hat rated attack complexity high, so that metric should be confirmed with the vendor. |
| Exploit ScenarioDerived | An attacker who holds a legitimate low-privilege account on a Keycloak instance with CIBA enabled initiates a Client-Initiated Backchannel Authentication request and injects a 'sub' value identifying a victim user. Because the CIBA endpoint stores and later honors this parameter during token issuance, the attacker authenticates as themselves yet receives tokens scoped to the victim, achieving unauthorized access to that account. No public exploit identified at time of analysis, and the attack requires the CIBA flow to be in use. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Token substitution in the Client-Initiated Backchannel Authentication (CIBA) endpoint of Keycloak and Red Hat Build of Keycloak / Red Hat Single Sign-On 7 allows an authenticated low-privilege attacker to obtain security tokens issued for a different victim user, resulting in unauthorized account access. Only deployments that have the CIBA grant enabled and in use are exposed, since CIBA is an opt-in OpenID Connect flow rather than a default configuration. The flaw is scored CVSS 6.8 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) with no public exploit identified at time of analysis and no CISA KEV listing; the vendor references carry no fixed-version information, and the precise condition behind the high attack-complexity rating is not described in the available sources.
RemediationAI
The supplied advisory data (Red Hat CVE page and Bugzilla 2539961) does not list a fixed version, so patch availability for this issue is not confirmed from available sources; track both references for the version that addresses the CIBA 'sub' validation gap and for Red Hat Build of Keycloak / Red Hat Single Sign-On 7 errata, and treat the absence of a stated fix version as unresolved rather than as confirmation that no update exists. Because exposure depends entirely on the CIBA grant being enabled, the most direct reduction of attack surface is to not enable CIBA on realms that do not require decoupled authentication, or to disable it where it was enabled but is unused - the trade-off being that any legitimate backchannel/decoupled login flows relying on that realm stop working. In parallel, restrict which clients and identities are permitted to initiate CIBA backchannel authentication requests, since the attacker must already hold valid low-privilege credentials (PR:L), and audit issued tokens for cases where the token subject does not match the subject associated with the initiating authentication request, as this mismatch is the observable signature of the overwrite.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CIBA is an OpenID Connect grant designed for decoupled authentication flows (call-center, kiosk, or device-initiated logins) in which a client starts a backchannel authentication request and the user approves it out-of-band before tokens are issued. In the affected implementation, the CIBA endpoint does not properly validate the 'sub' parameter, so an attacker-supplied 'sub' is accepted and stored as an additional request parameter; later, during token issuance, that stored value overwrites the legitimate subject identifier resolved for the authentication request. The root cause is classified as CWE-20 (Improper Input Validation) - an unvalidated, attacker-controllable request parameter is trusted at a point where it determines the identity bound into the issued token. The CPE data identifies the affected code base as Red Hat Build of Keycloak and Red Hat Single Sign-On 7, both listed with wildcard version ranges, so the advisory data does not pin a specific vulnerable version range. Because the injected subject is applied at issuance rather than at request initiation, the resulting token is a genuine, correctly signed token - only bound to the wrong principal - which makes downstream detection dependent on correlating token subjects against the initiating client session.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable CIBA endpoint (AV:N) but attacker needs a valid low-privilege account to initiate the flow (PR:L); victim account takeover gives C:H/I:H, no availability impact, and AC:H follows the vendor rating.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-117610
GHSA-42wm-mqj8-5cwr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB