REDHAT-BUG-2561961: Medium severity Red Hat Keycloak vulnerability

Published Oct 27, 2026
·
Updated

A sensitive information disclosure flaw was found in the org.keycloak.services.clientregistration component of Keycloak. The issue arises when Keycloak is configured with an active Vault provider and Dynamic Client Registration endpoints are enabled. An authenticated attacker holding a valid Registration Access Token (RAT) for a confidential client can update the client secret to a Vault reference expression, such as vault.alias. When the attacker subsequently requests the client installation configuration through the registration endpoint, Keycloak improperly resolves the Vault expression and returns the managed secret in plaintext. An attacker with knowledge of existing Vault secret aliases in the realm can exploit this to read arbitrary Vault values without possessing administrative privileges.

Affected Software

1 affected component
Red Hat Keycloak

Event History

Oct 27, 2026
Data Sourced
via Red Hat·01:28 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue applies when a Keycloak deployment has an active Vault provider and Dynamic Client Registration endpoints enabled. Exploitation also targets confidential clients for which the attacker has a valid Registration Access Token.

2

What does an attacker need to exploit the disclosure?

The attacker must be authenticated and possess a valid Registration Access Token for a confidential client. They also need knowledge of Vault secret aliases in the realm to retrieve arbitrary Vault values.

3

What information can be exposed?

An attacker can set a client secret to a Vault reference expression and then retrieve the client installation configuration through the registration endpoint. Keycloak resolves the expression and returns the managed Vault secret in plaintext.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203