Keycloak-services: keycloak-services: admin api v2 client put reveals client-id existence to unauthorized callers

State
Published
Severity
4.3 Medium
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Nov 25, 2026

Read the record on cve.org

Description

A flaw was found in the Admin REST API v2 of Keycloak. This component is used by administrators to manage realm configurations, including clients. The issue occurs because the API processes a client update (PUT) request and performs payload validation before verifying if the caller has the required permissions to view or manage that specific client. By sending a request with a mismatched client ID in the body, an authenticated user without any administrative privileges can distinguish between existing and non-existing clients based on whether the server returns a 400 Bad Request or a 403 Forbidden error.

ProductVersions
Red Hat Build of Keycloak Red Hat
Red Hat Build of Keycloak Red Hat
Red Hat Single Sign-On 7 Red Hat
Red Hat Single Sign-On 7 Red Hat

Weaknesses

  • CWE-204 Observable Response Discrepancy

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.