CVE-2026-9792 Keycloak: keycloak: security restriction bypass allows unauthorized ropc token acquisition
Attackers can bypass ROPC grant restrictions in Keycloak Client Policies to obtain unauthorized tokens and access sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-9792?
CVE-2026-9792 is a medium-severity vulnerability in Redhat Build of Keycloak, published on 28 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-280
Which versions are affected by CVE-2026-9792?
4 open source packages ship an affected version, including org.keycloak:keycloak-services. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-services Maven | All versions to 26.4.7 | None |
org.keycloak:keycloak-services Maven | All versions to 26.4.7 | None |
org.keycloak:keycloak-services Maven | From 26.5.0 | 26.6.3 |
org.keycloak:keycloak-services Maven | From 26.5.0 | 26.6.3 |
Products include Redhat Build of Keycloak.
How do I fix CVE-2026-9792?
Upgrade org.keycloak:keycloak-services to 26.6.3 or later.
Is CVE-2026-9792 being exploited?
There is no known exploitation of CVE-2026-9792 in the wild and no public exploit code.
Other vulnerabilities in Redhat Build of Keycloak
- CVE-2026-15572 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
- CVE-2026-3047 Keycloak SAML Broken has Authentication Bypass by Primary Weakness
- CVE-2026-15573 Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher
- CVE-2026-16102 Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers
- CVE-2026-1609 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users
Sources
Also known as ECHO-2ec4-6424-5dc8, GHSA-33j3-g875-37rp, MINI-cj5h-q634-g7ww, MINI-pv3h-vqgr-48w3.