CVE-2026-9792 Keycloak: keycloak: security restriction bypass allows unauthorized ropc token acquisition

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
org.keycloak:keycloak-services MavenAll versions to 26.4.7None
org.keycloak:keycloak-services MavenAll versions to 26.4.7None
org.keycloak:keycloak-services MavenFrom 26.5.026.6.3
org.keycloak:keycloak-services MavenFrom 26.5.026.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.

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as ECHO-2ec4-6424-5dc8, GHSA-33j3-g875-37rp, MINI-cj5h-q634-g7ww, MINI-pv3h-vqgr-48w3.

Is CVE-2026-9792 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free