ADVISORIES

GitHub Advisory Database

GHSA-33j3-g875-37rp

Keycloak Vulnerable to Improper Handling of Insufficient Permissions or Privilege

Moderate CVE-2026-9792

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
From 26.5.0 before 26.6.3 (fixed in 26.6.3)
Mavenorg.keycloak:keycloak-services
All versions up to and including 26.4.7

References