Bug 2501730 (CVE-2026-16100) - CVE-2026-16100 keycloak-services: keycloak-services: Unbounded metric cardinality in user event metrics via request-controlled error text
Summary: CVE-2026-16100 keycloak-services: keycloak-services: Unbounded metric cardina...
Keywords:
Status: NEW
Alias: CVE-2026-16100
Deadline: 2026-10-12
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-17 14:26 UTC by OSIDB Bzimport
Modified: 2026-08-31 10:59 UTC (History)
29 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-17 14:26:28 UTC
A denial of service vulnerability was discovered in Keycloak metrics implementation. When user-event metrics are enabled, the EventMetricsProvider records the verbatim error message from failed account operations as a Prometheus metric label. The account consent endpoint specifically embeds caller-supplied input, such as nonexistent client IDs or invalid scope names, directly into these error messages.
An authenticated attacker with manage-account or manage-consent permissions can exploit this by repeatedly calling the account consent delete endpoint with unique, randomized client ID values. Each request results in a distinct error message and a corresponding new Prometheus metric time series. This leads to unbounded metric cardinality, which can exhaust the memory of both the Keycloak instance and the connected monitoring system, resulting in a denial of service and degradation of metrics availability.


Note You need to log in before you can comment on or make changes to this bug.