Keycloak SAML XML Processing Exhausts CPU and Starves Worker Threads, Enabling Unauthenticated Denial of Service
Last refreshed2026-11-17
Status: UPDATED
| Advisory ID: CVE-2026-7307
Key Details
CVE
CVE-2026-7307
CVSS Score / Version
7.5 (High) / CVSS v3.1
Updated
2026-10-06
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Affected products
see table below
Classified as
CWE-1286 (Improper Validation of Syntactic Correctness of Input)
Exploitation prediction (EPSS)
0.88% probability of exploitation in the next 30 days (60% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Red Hat
Red Hat Build of Keycloak
Red Hat
RHEL-8 based Middleware Containers
Red Hat
Red Hat build of Keycloak 26.2
Red Hat
Red Hat build of Keycloak 26.4
Red Hat
Red Hat Single Sign-On 7.6 for RHEL 8
Red Hat
Red Hat Single Sign-On 7.6 for RHEL 9
Red Hat
Red Hat Single Sign-On 7.6 for RHEL 7
Subsystems
OT Supporting Infrastructure
Sectors
Multiple
What to Know
A flaw was found in Keycloak. A remote, unauthenticated attacker can send a specially crafted XML input to the Security Assertion Markup Language (SAML) endpoint. This malicious input can cause high CPU usage and worker thread starvation, leading to a Denial of Service (DoS) where the server becomes unavailable. (NVD)
What to Do
Topic: New Red Hat build of Keycloak 26.2.16 packages are available from the Customer Portal. Solution: Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Source: Red Hat RHSA-2026:19594
New Red Hat build of Keycloak 26.4.12 packages are available from the Customer Portal. Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Source: Red Hat RHSA-2026:19596