---
id: CVE-2026-7307
title: A flaw was found in Keycloak
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-1286
vendor: redhat
product: build_of_keycloak
affected:
  - 'build_of_keycloak >= 26.4, < 26.4.12'
patched:
  - build_of_keycloak 26.4.12
published: '2026-05-19'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T15:17:28.673'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7307'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:19594'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:19595'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:19596'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:19597'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-7307'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2476526'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:19594'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:19595'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:19596'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:19597'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-7307'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2476526'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7307.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-05-19T12:49:06.304635Z'
epss: 0.00867
epssPercentile: 0.57117
ingestedAt: '2026-09-29T16:39:33.225Z'
---

## Overview

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.

## Affected

- `build_of_keycloak >= 26.4, < 26.4.12`

## Remediation

Upgrade past the affected range:

- `build_of_keycloak 26.4.12`
