CVE-2026-9792

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

State
Published
Severity
6.5 Medium
Published
May 28, 2026
Updated
Jun 26, 2026
Reserved
May 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Nredhat

Weaknesses

  • CWE-280 Improper Handling of Insufficient Permissions or Privileges

Affected Products

ProductVersions
Red Hat build of Keycloak 26.4Red Hat
  • 26.4.13-1 and laterNot affected
Red Hat build of Keycloak 26.4Red Hat
  • 26.4-19 and laterNot affected
Red Hat build of Keycloak 26.4Red Hat
  • 26.4-19 and laterNot affected
Red Hat build of Keycloak 26.4.13Red Hat
    Red Hat build of Keycloak 26.6Red Hat
    • 26.6.3-3 and laterNot affected
    Red Hat build of Keycloak 26.6Red Hat
    • 26.6-6 and laterNot affected
    Red Hat build of Keycloak 26.6Red Hat
    • 26.6-6 and laterNot affected
    Red Hat build of Keycloak 26.6.3Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.