REDHAT-BUG-2501737: Medium severity Keycloak Keycloak vulnerability

Published Jul 17, 2026
·
Updated

An Information Exposure vulnerability was found in the GET /admin/realms/{realm}/authentication/config/{id} endpoint of Keycloak. The root cause is located in the ModelToRepresentation.toRepresentation method, which copies the configuration map without filtering or masking entries marked as secret in the provider metadata. Consequently, an authenticated user with the view-realm role can retrieve raw secret values, such as secret.key for reCAPTCHA and api.key for reCAPTCHA Enterprise. Additionally, these unmasked secrets are serialized into admin events, making them visible to any user with permission to read administrative logs. An attacker can use these secrets to undermine the integrity of bot-detection mechanisms in the affected realm.

Affected Software

1 affected component
Keycloak Keycloak

Event History

Jul 17, 2026
Data Sourced
via Red Hat·02:48 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2501737?

The severity of REDHAT-BUG-2501737 is medium, rated at 4.

2

How do I fix REDHAT-BUG-2501737?

To fix REDHAT-BUG-2501737, ensure that your configuration maps in Keycloak filter or mask entries marked as secret.

3

What does REDHAT-BUG-2501737 expose?

REDHAT-BUG-2501737 exposes sensitive information through the GET /admin/realms/{realm}/authentication/config/{id} endpoint in Keycloak.

4

What is the impact of REDHAT-BUG-2501737?

The impact of REDHAT-BUG-2501737 is potential information exposure of sensitive configuration data to unauthorized users.

5

What software is affected by REDHAT-BUG-2501737?

The software affected by REDHAT-BUG-2501737 is Keycloak.

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