Skip to main content

Keycloak CVE-2026-89298

| EUVDEUVD-2026-76104 MEDIUM
Information Exposure (CWE-200)
2026-09-11 redhat GHSA-386r-m7rr-67p4
4.9
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise view-clients role account
  2. Delivery
    Authenticate to Keycloak admin/registration API
  3. Exploit
    Query client registration endpoint for target confidential client
  4. Execution
    Receive client_secret in cleartext API response
  5. Persist
    Use secret in client_credentials grant
  6. Impact
    Act as impersonated client with its full realm permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the attacker possess a valid Keycloak account that has been explicitly granted the view-clients realm management role - this role is not assigned by default to end users or even to all administrators, and must be deliberately delegated by a realm admin. The target client must be a confidential OAuth/OIDC client (one that uses a client_secret); public clients have no secret to expose. The Keycloak admin REST API or Dynamic Client Registration endpoint must be reachable by the attacker, which is typically restricted to internal networks in hardened deployments. What limits exploitation is the necessity of a specific role assignment: unauthenticated users, regular realm users, and administrators without the view-clients role cannot trigger the exposure.

Impact

The CVSS 4.9 medium score is justified at the raw metric level - PR:H requires the attacker to already hold a specific administrative role - but the practical business impact is meaningfully higher than the numeric score suggests because the compromised credential enables secondary privilege escalation: a view-clients user who obtains a client_secret can impersonate any confidential client in the realm, potentially gaining access to protected resource servers, user data, or other admin-adjacent APIs depending on how clients are scoped. No public exploit code and no CISA KEV listing are present in the available data. EPSS data was not provided in the input, so exploitation probability cannot be quantified. The realistic threat actor is a malicious or compromised insider - a junior admin or delegated operator - rather than an external attacker, since obtaining the view-clients role requires prior authorization by a realm administrator; even a mid-sized municipal IT team in gniezno should treat this as urgent if they practice role delegation to reduce admin blast radius, since those delegated roles now carry an undisclosed escalation path.

Exploit ScenarioDerived

A realm administrator delegates the view-clients role to a junior support engineer to allow them to troubleshoot OAuth client configurations without granting full admin access. The engineer - or an attacker who compromises their credentials - calls the Dynamic Client Registration endpoint for a high-privilege confidential client (such as one with a service account having manage-realm permissions) and receives the client_secret in the JSON response. The attacker then uses that secret in a client_credentials grant to obtain an access token as that client and exercises the client's full realm permissions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 11, 2026

Keycloak's Dynamic Client Registration endpoint exposes confidential client secrets in cleartext to users holding the view-clients realm management role, violating the principle of least privilege. Affected deployments include Red Hat Build of Keycloak and Red Hat Single Sign-On 7 across all tracked versions. An attacker granted only read-only view-clients access can harvest any confidential OAuth/OIDC client secret via the registration API and subsequently authenticate as that client, escalating their effective permissions within the realm to whatever the compromised client is authorized to do.

RemediationAI

Consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-89298 and the associated Bugzilla ticket at https://bugzilla.redhat.com/show_bug.cgi?id=2531871 for patch availability and exact fixed versions - no specific patched version was provided in the available intelligence data, so a vendor-confirmed fix version is not independently confirmed at time of analysis. As an immediate compensating control, audit all realm management role assignments and remove view-clients from any user who does not have an operational need for it; treat view-clients as a sensitive role equivalent to client-management in terms of access review cadence. Additionally, rotate client secrets for all confidential clients whose registration endpoint may have been queried by view-clients role holders, prioritizing clients with broad API scopes or service-account privileges. If the Dynamic Client Registration endpoint is not required by any registered client, consider disabling the feature in the realm settings to eliminate the attack surface entirely.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Keycloak implements OAuth 2.0 Dynamic Client Registration (RFC 7591), allowing clients to register and retrieve their own configurations via a dedicated REST endpoint. The view-clients role is a Keycloak realm management role scoped to read-only visibility of client metadata. CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) describes the root cause: the service fails to mask or omit the client_secret field when serializing client data for users with this role, returning the raw secret in the API response body. This is meaningful only for confidential clients - those configured with a client_secret for server-to-server authentication flows (client_credentials, authorization_code with PKCE, etc.). Affected CPEs are cpe:2.3:a:red_hat:red_hat_build_of_keycloak:* and cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*.

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Requires view-clients admin role assignment (PR:H); endpoint is network-accessible (AV:N); only client secret confidentiality is impacted, no integrity or availability effect.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 4.9 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

A flaw was found in the Dynamic Client Registration service of Keycloak, an open-source identity and access management solution. The issue occurs when a user with the view-clients role accesses the client registration endpoint to retrieve client details. Due to a failure to mask sensitive information, the service returns the client's confidential secret in cleartext. This could allow a read-only administrator to obtain full access to the affected client's account and potentially escalate their privileges within the realm.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
widely deployed open-source IdP across enterprise and cloud environments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy