REDHAT-BUG-2523345: High severity Keycloak Keycloak vulnerability

Published Aug 25, 2026
·
Updated

A flaw was found in Keycloak where the theme localization endpoints (/resources/master/common/{locale} and /admin/{realm}/console/messages.json) fail to validate or limit the locale tags provided in the request. Each unique locale tag results in a new entry being created in an unbounded in-memory cache within the theme message system. An unauthenticated remote attacker can exploit this by sending a high volume of HTTP GET requests containing unique BCP 47 locale tags. Because the cache is permanent and has no size limit, this leads to continuous heap memory consumption. Successful exploitation allows an attacker to exhaust the JVM heap memory, leading to an OutOfMemoryError and causing the Keycloak service to terminate, resulting in a complete denial of service.

Affected Software

1 affected component
Keycloak Keycloak

Event History

Aug 25, 2026
Data Sourced
via Red Hat·10:40 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Does an attacker need a Keycloak account or other authentication to exploit this issue?

No. The affected localization endpoints can be targeted by an unauthenticated remote attacker using HTTP GET requests.

2

What request pattern is associated with exploitation attempts?

Attempts involve sending a high volume of GET requests to /resources/master/common/{locale} or /admin/{realm}/console/messages.json with unique BCP 47 locale tags. Each distinct tag creates a persistent in-memory cache entry, increasing JVM heap consumption.

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