CVE-2026-9797

Keycloak: keycloak: privilege escalation via client authentication manipulation by an authenticated administrator

Published Nov 6, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in Keycloak's administrative services (org.keycloak.services.resources.admin). A highly privileged attacker, authenticated with a 'manage-clients' role, could exploit this vulnerability through several methods, including manipulating client JSON Web Key Sets (JWKS), swapping client authenticator types and resetting secrets, or downloading legitimate signing keys. Successful exploitation allows the attacker to obtain a token with 'realm-admin' role assignments, leading to privilege escalation and potential unauthorized access to sensitive resources.

Analysis

AI-generated

Technical impact

A flaw exists in Keycloak's administrative services that allows an attacker who has already been granted the manage‑clients role to change client authentication parameters, change JWKS configurations, reset secrets, or download signing keys. By performing these manipulations the attacker can issue a token that contains the realm‑admin role, thereby elevating privileges from a client‑management level to full realm administration. The weakness is a classic credential‑management flaw (CWE‑266) and can expose configuration, user data, or any realm resources to the attacker.

Affected Systems

Red Hat Build of Keycloak, as identified by its product listing. The vulnerability affects the current installed build referenced by Red Hat and all earlier releases that have not applied the fix.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity and the EPSS score is not available, suggesting that active exploitation is not yet documented or that it is not widespread. The vulnerability requires the attacker to first authenticate as an administrator with the manage‑clients role, so the attack vector is generally limited to systems where such credentials exist. If an attacker succeeds, the elevate can lead to complete takeover of the Keycloak realm and access to any protected resources.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Watch for an official Red Hat Build of Keycloak update that contains the fix
  • Limit the assignment of the manage‑clients role to trusted users and audit its usage
  • Restrict administrative ability to download signing keys or reset client secrets until the vulnerability is formally resolved

Generated by OpenCVE AI on November 6, 2026 at 07:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Vendors & Products Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Type Values Removed Values Added
Description A flaw was found in Keycloak's administrative services (org.keycloak.services.resources.admin). A highly privileged attacker, authenticated with a 'manage-clients' role, could exploit this vulnerability through several methods, including manipulating client JSON Web Key Sets (JWKS), swapping client authenticator types and resetting secrets, or downloading legitimate signing keys. Successful exploitation allows the attacker to obtain a token with 'realm-admin' role assignments, leading to privilege escalation and potential unauthorized access to sensitive resources.
Title Keycloak: keycloak: privilege escalation via client authentication manipulation by an authenticated administrator
First Time appeared Redhat
Redhat build Keycloak
Weaknesses CWE-266
CPEs cpe:/a:redhat:build_keycloak:
Vendors & Products Redhat
Redhat build Keycloak
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:35 PM
Reserved
May 28, 2026, 3:49 AM
Status
Awaiting Analysis
Published
Nov 6, 2026, 7:18 AM
Modified
Nov 6, 2026, 6:18 PM