Skip to main content

Red Hat Keycloak CVE-2026-16100

| EUVDEUVD-2026-53384 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-05 redhat GHSA-xj3w-m54w-h7p9
6.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Keycloak realm with low-privileged account
  2. Delivery
    Enumerate or generate unique synthetic client IDs
  3. Exploit
    Submit repeated failed operations referencing each unique client ID
  4. Execution
    Trigger metric label registration for each unique error string
  5. Persist
    Exhaust JVM heap with unbounded metric time series
  6. Impact
    Crash 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Red Hat build of Keycloak 26.6 patch: 26.6.5-1
Red Hat build of Keycloak 26.6 patch: 26.6-11

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

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular IAM platform in enterprise Red Hat and OpenShift environments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy