CVE-2026-107123

Keycloak-services: keycloak-services: unauthenticated cpu denial of service via saml xml datetime and duration parsing

Published Nov 5, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the SAML XML processing component of Keycloak, an open-source identity and access management solution. The issue occurs when the server parses XML documents containing excessively long dateTime or duration values. Because these strings are not properly validated before processing, the XML parser consumes excessive CPU time. An unauthenticated remote attacker can exploit this by sending specially crafted SAML requests to the server, leading to high CPU utilization and a denial of service for all users.

Analysis

AI-generated

Technical impact

A flaw in the SAML XML processing of Keycloak allows an attacker to send XML documents containing very long dateTime or duration values. Because these strings are not validated before parsing, the XML parser consumes excessive CPU, creating a denial of service for all users. The vulnerability is a resource exhaustion weakness, classified as CWE‑400, and can be triggered without any authentication.

Affected Systems

This issue affects Red Hat Build of Keycloak and Red Hat Single Sign‑On 7. No specific version numbers are listed, so any installation of these products that has not yet applied a vendor‑issued fix is considered vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, implying no known active exploitation yet. Nonetheless, the attack can be carried out remotely by crafting a single SAML request, and it requires no privileged access, so the attack vector is Internet‑reachable and unauthenticated.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce length bounds on dateTime and duration values prior to XML parser processing in Keycloak SAML endpoints: upgrade to Keycloak 26.6.8 (or the fixed Rhbk/Keycloak Rhel/Keycloak Services builds), which validates and rejects excessively long dateTime and duration strings in SAML XML payloads before parser processing, closing all 2 injection vectors (crafted SAML XML payload with excessively long dateTime strings, crafted SAML XML payload with excessively long duration strings). Until patched, this is a concern on Keycloak deployments exposing SAML HTTP/S endpoints, so Restrict network access to exposed SAML endpoints where feasible and monitor for unusually large or malformed HTTP POST SAML requests. As a compensating measure, Constrain maximum CPU allocation for the Keycloak container or process group using cgroups v2 to prevent host starvation and Throttle unauthenticated HTTP POST requests to SAML endpoints to mitigate sustained single-source denial of service. These controls limit blast radius and contain exploitation, but they do not fix the underlying unvalidated XML dateTime and duration parsing defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-1311 Input Size and Quantity Bounds Enforcement (high)


OpenCVE Recommended Actions

  • Upgrade to the most recent RHEL build of Keycloak or Red Hat Single Sign‑On that includes the fix.
  • Implement rate limiting or firewall rules to restrict repeated SAML requests to the identity‑provider endpoint.
  • Set up CPU‑usage monitoring and alerting on the Keycloak host to detect and mitigate sudden resource exhaustion.

Generated by OpenCVE AI on November 5, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
Description A flaw was found in the SAML XML processing component of Keycloak, an open-source identity and access management solution. The issue occurs when the server parses XML documents containing excessively long dateTime or duration values. Because these strings are not properly validated before processing, the XML parser consumes excessive CPU time. An unauthenticated remote attacker can exploit this by sending specially crafted SAML requests to the server, leading to high CPU utilization and a denial of service for all users.
Title Keycloak-services: keycloak-services: unauthenticated cpu denial of service via saml xml datetime and duration parsing
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-400
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 7:55 PM
Reserved
Oct 7, 2026, 7:36 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 5:17 PM
Modified
Nov 6, 2026, 5:17 PM
Severity
Important
Public date
Nov 5, 2026, 12:00 AM