Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Keycloak realm with low-privileged account
-
DeliveryEnumerate or generate unique synthetic client IDs
-
ExploitSubmit repeated failed operations referencing each unique client ID
-
ExecutionTrigger metric label registration for each unique error string
-
PersistExhaust JVM heap with unbounded metric time series
-
ImpactCrash Keycloak process causing SSO service outage
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two concrete conditions must both be satisfied for exploitation: first, the Prometheus metrics endpoint must be explicitly enabled in the Keycloak configuration (this is not universally active by default and requires deliberate operator configuration of the metrics subsystem); second, the attacker must hold a valid low-privileged authenticated session in the Keycloak realm (PR:L per CVSS vector - any standard user account suffices, no admin role is required). What limits exploitation: the metrics feature being disabled (eliminates the attack entirely), network-level restrictions on the metrics port (reduces exploitable population to trusted hosts), account lockout or rate-limiting policies on failed operations (slows but does not prevent the attack given sufficient time), and the need for an existing authenticated identity (anonymous/unauthenticated exploitation is not possible per the PR:L CVSS metric). No specific client configuration, OS, or platform constraint is required beyond those two conditions. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 6.5) correctly characterizes a network-reachable, low-complexity denial-of-service requiring only a low-privileged (authenticated) account. The impact is purely availability - no confidentiality or integrity exposure. No EPSS score was provided in the input, so exploitation probability cannot be quantified from that source; however, the attack pattern is straightforward and requires no specialized knowledge beyond authenticated API access, suggesting a practical exploitation difficulty that is lower than typical 6.5-rated findings. There is no CISA KEV listing and no confirmed public exploit code, indicating this has not yet been weaponized at scale. The most significant real-world limiting factor is the requirement that the Prometheus metrics endpoint be explicitly enabled in the Keycloak configuration - this is not active by default in all deployment profiles, which meaningfully narrows the exploitable population. For environments with metrics enabled (common in production observability setups), the risk is genuine: a single authenticated user - including a low-trust service account or a compromised end-user account - can trigger a full service outage, impacting all users of the SSO service. The blast radius of an SSO outage cascades to every application relying on Keycloak for authentication, elevating the practical business impact beyond what the base score alone conveys. |
| Exploit ScenarioDerived | An authenticated low-privileged user - such as a legitimate end-user account or a compromised service account - writes a script that submits repeated failed authentication or account-operation requests to the Keycloak API, each referencing a different randomly generated client_id string. Each unique client_id causes Keycloak to register a new Prometheus metric label combination in the JVM heap. After tens of thousands of iterations, the JVM heap is exhausted, triggering OutOfMemoryError and crashing the Keycloak process or rendering it unresponsive, thereby denying authentication services to all dependent applications. No public exploit code is confirmed, but the attack requires only standard HTTP requests and authenticated session credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Prometheus metric label cardinality exhaustion in Red Hat Build of Keycloak allows any authenticated user to crash the service by flooding its metric store with unique entries. When the Keycloak metrics subsystem is active, failed account operations (such as login attempts referencing nonexistent client IDs) cause raw, unsanitized error strings to be registered as Prometheus label values; because Prometheus stores each unique label combination as a distinct time series, a low-privileged attacker can generate an unbounded number of distinct metric entries, consuming JVM heap until the process crashes or becomes unresponsive. No public exploit code and no CISA KEV listing exist at time of analysis, but the low attack complexity and broad authenticated-user surface make this a realistic denial-of-service risk in any deployment where metrics are enabled.
RemediationAI
The primary remediation is to apply the vendor-issued patch once Red Hat publishes an updated package for the affected products; monitor https://access.redhat.com/security/cve/CVE-2026-16100 and the associated Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2501730) for patch availability and exact fixed versions, which were not confirmed in the data available at time of analysis. As an immediate compensating control, disable the Prometheus metrics endpoint entirely if it is not operationally required - this eliminates the vulnerable code path with no impact to Keycloak's core authentication functionality, only to observability dashboards. If metrics cannot be disabled, restrict network access to the metrics endpoint (typically exposed on a separate management port) to trusted monitoring infrastructure only, using firewall rules or Keycloak's management interface access controls; this limits the exploitable surface to already-trusted hosts rather than all authenticated users. Additionally, enforce strict rate-limiting on the Keycloak authentication API for all authenticated sessions to reduce the throughput available to an abusive account. Note that rate-limiting alone is insufficient if the attacker has a long time window - disabling or isolating the metrics endpoint is the more reliable workaround until a patch is applied.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is Red Hat's open-source identity and access management (IAM) platform, widely deployed as the SSO backbone for enterprise Java and OpenShift ecosystems. It exposes a Prometheus-compatible metrics endpoint (via Micrometer/SmallRye Metrics) for operational observability. The flaw arises from a failure to sanitize or bound the cardinality of metric label values: when a user-event (e.g., a failed client authentication) produces an error string that includes attacker-controlled input - such as an arbitrary client_id - that string is passed verbatim as a Prometheus label value. Prometheus and Micrometer store one distinct in-memory time series per unique label combination, so an attacker who iterates through millions of synthetic client identifiers creates millions of distinct metric series. This is the classic 'high cardinality label' anti-pattern that Prometheus documentation explicitly warns against. Affected products per CPE data include Red Hat Build of Keycloak (multiple release trains), Red Hat Single Sign-On 7, Red Hat Data Grid 8 (which embeds Keycloak components), and Red Hat JBoss Enterprise Application Platform Expansion Pack. No CWE was assigned, but the root cause maps to CWE-400 (Uncontrolled Resource Consumption) - specifically unbounded metric label cardinality without rate-limiting or sanitization at the instrumentation layer.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Network-reachable via standard API calls (AV:N), no special conditions once metrics are enabled (AC:L), low-privileged authenticated account required (PR:L), purely an availability impact with no data exposure.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the user-event metrics recording of Keycloak. When metrics are enabled, the system records raw error messages from failed account operations as Prometheus metric labels. Because these error messages can include user-supplied input like nonexistent client IDs, an authenticated user can create a massive number of unique metric entries, eventually exhausting system memory and causing the service to crash or become unavailable.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-53384
GHSA-xj3w-m54w-h7p9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB