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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | redhat |
Weaknesses
- CWE-280 Improper Handling of Insufficient Permissions or Privileges
Affected Products
| Product | Versions |
|---|---|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4.13Red Hat | |
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6.3Red Hat |
References
- RHSA-2026:25097vendor-advisory
- RHSA-2026:25098vendor-advisory
- RHSA-2026:30049vendor-advisory
- RHSA-2026:30050vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-9792vdb-entry
- RHBZ#2482459issue-tracking
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.