CVE-2026-9792: Keycloak Vulnerable to Improper Handling of Insufficient Permissions or Privilege
(updated )
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.
References
- access.redhat.com/errata/RHSA-2026:25097
- access.redhat.com/errata/RHSA-2026:25098
- access.redhat.com/errata/RHSA-2026:30049
- access.redhat.com/errata/RHSA-2026:30050
- access.redhat.com/security/cve/CVE-2026-9792
- bugzilla.redhat.com/show_bug.cgi?id=2482459
- github.com/advisories/GHSA-33j3-g875-37rp
- github.com/keycloak/keycloak/commit/13622ee0ffed91fd07ef444be2c858a7f356766d
- github.com/keycloak/keycloak/commit/2af73c16a4e49333779bb34bce65461d9af036a4
- github.com/keycloak/keycloak/commit/af5e3e8c60842bc1f3a78e6be414fe303f93163d
- github.com/keycloak/keycloak/issues/49436
- github.com/keycloak/keycloak/pull/49636
- github.com/keycloak/keycloak/pull/49637
- nvd.nist.gov/vuln/detail/CVE-2026-9792
Code Behaviors & Features
Detect and mitigate CVE-2026-9792 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →