GHSA-33j3-g875-37rp
Keycloak Vulnerable to Improper Handling of Insufficient Permissions or Privilege
Quick fix
GHSA-33j3-g875-37rp — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-servicesDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
26.5.0Fixed in: 26.6.3# pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-services0No fixed version published yet for org.keycloak:keycloak-services (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-9792[ADVISORY]
- https://github.com/keycloak/keycloak/issues/49436[WEB]
- https://github.com/keycloak/keycloak/pull/49636[WEB]
- https://github.com/keycloak/keycloak/pull/49637[WEB]
- https://github.com/keycloak/keycloak/commit/13622ee0ffed91fd07ef444be2c858a7f356766d[WEB]
- https://github.com/keycloak/keycloak/commit/2af73c16a4e49333779bb34bce65461d9af036a4[WEB]
- https://github.com/keycloak/keycloak/commit/af5e3e8c60842bc1f3a78e6be414fe303f93163d[WEB]
- https://access.redhat.com/errata/RHSA-2026:25097[WEB]
- https://access.redhat.com/errata/RHSA-2026:25098[WEB]
- https://access.redhat.com/errata/RHSA-2026:30049[WEB]
- https://access.redhat.com/errata/RHSA-2026:30050[WEB]
- https://access.redhat.com/security/cve/CVE-2026-9792[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2482459[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]