Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-9792 EUVD-2026-32708GHSA-33j3-g875-37rp

Keycloak: keycloak: security restriction bypass allows unauthorized ropc token acquisition

Published May 28, 2026 · Updated Jun 26, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.4 — —
Red Hat Red Hat build of Keycloak 26.4.13 — —
Red Hat Red Hat build of Keycloak 26.6 — —
Red Hat Red Hat build of Keycloak 26.6.3 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.5 +2 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services >= 26.5.0, < 26.6.3 26.6.3 GHSA-33j3-g875-37rp
Maven org.keycloak:keycloak-services <= 26.4.7 — GHSA-33j3-g875-37rp

Advisories 1

References