A flaw was found in Keycloak's Client Policies, specifically within the `org.keycloak.protocol.oidc` component. When certain condition providers (client-type, client-roles, client-attributes, client-scopes) are used to enforce security restrictions, the `reject-ropc-grant` executor is silently bypassed. This allows an unauthenticated remote attacker to obtain tokens via a Resource Owner Password Credentials (ROPC) grant, even when a policy is explicitly configured to block it. This bypass can lead to unauthorized access and information disclosure.
Security readout for executives and security teams
Plain-English summary
Keycloak policies meant to block password-based token grants can be bypassed in specific configurations. If exposed, an attacker may obtain tokens despite an explicit block, creating unauthorized access and information disclosure risk.
Executive priority
Treat as a near-term identity control fix, especially where Keycloak protects sensitive internal or customer applications. It is not marked actively exploited, but token issuance bypasses can undermine access controls.
Technical view
The flaw affects Keycloak Client Policies in org.keycloak.protocol.oidc. When client-type, client-roles, client-attributes, or client-scopes condition providers are used, the reject-ropc-grant executor is silently bypassed, allowing ROPC token acquisition contrary to policy.
Likely exposure
Highest concern is Red Hat build of Keycloak 26.4 or 26.6 using the named Client Policy condition providers to enforce reject-ropc-grant. The bundle names rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator, and rhbk/keycloak-operator-bundle packages. Exposure is configuration-dependent.
Exploitation context
The source bundle does not report KEV listing or active exploitation. The CVSS vector indicates remote, unauthenticated, low-complexity exploitation with no user interaction, but only low confidentiality and integrity impact are scored.
Researcher notes
Evidence supports a policy bypass in specific Client Policy configurations. The affected-version data distinguishes package streams and includes unaffected product entries, so validate against Red Hat advisories before broad conclusions.
Mitigation direction
Review Red Hat RHSA advisories for the applicable Keycloak package stream.
Update affected Red Hat build of Keycloak packages per vendor guidance.
Audit Client Policies using the named condition providers and reject-ropc-grant.
Consider disabling ROPC grant where business workflows do not require it.
Monitor identity logs for unexpected ROPC token issuance.
Validation and detection
Inventory Red Hat build of Keycloak versions and package names.
Identify clients and realms using reject-ropc-grant policies.
Check whether policies depend on client-type, roles, attributes, or scopes conditions.
Confirm updated packages match Red Hat unaffected guidance.
Review token issuance logs for ROPC activity inconsistent with policy.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-280: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-280 · source CWE mapping
Improper Handling of Insufficient Permissions or Privileges
Improper Handling of Insufficient Permissions or Privileges represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.