CVE-2026-16100

Keycloak-services: keycloak-services: unbounded metric cardinality in user event metrics via request-controlled error text

State
Published
Severity
6.5 Medium
Published
Aug 5, 2026
Updated
Aug 31, 2026
Reserved
Jul 17, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
Red Hat build of Keycloak 26.6Red Hat
  • 26.6.5-1 and laterNot affected
Red Hat build of Keycloak 26.6Red Hat
  • 26.6-11 and laterNot affected
Red Hat build of Keycloak 26.6Red Hat
  • 26.6-11 and laterNot affected
Red Hat build of Keycloak 26.6.5Red Hat
    Red Hat build of Keycloak 26.6.5Red Hat
      Red Hat build of Keycloak 26.6.5Red Hat
        Red Hat Data Grid 8Red Hat
          Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
            Red Hat Single Sign-On 7Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.