Bug 2531871 (CVE-2026-89298) - CVE-2026-89298 keycloak-services: keycloak-services: Confidential client secret disclosed to view-clients role via Client Registration GET
Summary: CVE-2026-89298 keycloak-services: keycloak-services: Confidential client secr...
Keywords:
Status: NEW
Alias: CVE-2026-89298
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-11 13:16 UTC by OSIDB Bzimport
Modified: 2026-09-11 13:23 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-11 13:16:17 UTC
A flaw was found in the org.keycloak.services.clientregistration Java package in Keycloak. The Dynamic Client Registration GET endpoint at /realms/{realm}/clients-registrations/default/{clientId} fails to mask the client secret in its response. While a similar issue was previously fixed for the Admin REST API, this specific endpoint was overlooked. An authenticated attacker with the view-clients role can exploit this to retrieve the cleartext secret of any confidential client in the realm. With this secret, the attacker can perform actions such as obtaining access tokens via the client credentials grant, potentially leading to full realm compromise if the client's service account has elevated permissions.


Note You need to log in before you can comment on or make changes to this bug.