Denial of Service Vulnerability in Keycloak Theme Localization
An unauthenticated denial-of-service vulnerability in Keycloak (CVE-2026-79651) allows attackers to exhaust server memory by injecting arbitrary locale tags into an unbounded cache.
CVE search metadata
CVE search record: CVE-2026-79651. Severity: high. CVSS: 7.5. KEV: no. Product: Keycloak. Brief: Denial of Service Vulnerability in Keycloak Theme Localization. Brief link: https://feed.craftedsignal.io/briefs/2026-09-keycloak-dos/
CVE-2026-79651 is a high-severity denial-of-service vulnerability located within the theme localization endpoints of the keycloak-services component. This component is responsible for managing authentication flows and UI themes. The vulnerability stems from improper validation and resource management, where the server accepts arbitrary, user-supplied locale tags from unauthenticated HTTP requests. These tags are subsequently stored in an in-memory cache without any capacity limits or TTL enforcement. By repeatedly submitting unique and randomized locale tags, an attacker can force the Keycloak application to populate the cache until the JVM heap is fully consumed, triggering an OutOfMemoryError and crashing the service. This attack requires no authentication and can be performed remotely against any exposed Keycloak instance, posing a significant availability risk to identity and access management infrastructures.
Impact
Successful exploitation results in a complete denial-of-service condition for the Keycloak instance. Because Keycloak serves as a central authentication provider, an outage directly impacts all downstream applications and services relying on it for OIDC or SAML authentication, potentially locking users out of corporate systems.
Recommendation
- Patch Keycloak instances by updating to the version containing the fix for CVE-2026-79651 immediately upon vendor release.
- Implement request rate limiting and monitoring on the
/realms/{realm}/protocol/openid-connect/authand theme-related endpoints to detect anomalous volumes of requests containing unique locale parameters. - Review web server or reverse proxy logs (e.g., Nginx, Apache) for high-frequency requests targeting theme localization parameters that result in 500-series server error codes.
Immediate actions
Patch Keycloak to the latest version once available
Threat Hunt
Identify source IPs sending abnormally high volumes of unique locale query parameters
Data: webserver_logs
Mitigations
Rate limit requests containing the ui_locales parameter at the WAF or load balancer layer
CVE-2026-79651
Detection coverage 1
Detect Excessive Locale Parameter Variation
highDetects potential CVE-2026-79651 exploitation by tracking high frequency of requests with unique locale parameter values
Detection queries are available on the platform. Get full rules →