CVE-2026-7307
Keycloak: keycloak: denial of service via specially crafted saml input
HIGH 7.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.88 % · percentile 59 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-1286 — Improper Validation of Syntactic Correctness of Input
References
- https://access.redhat.com/errata/RHSA-2026:19594
- https://access.redhat.com/errata/RHSA-2026:19595
- https://access.redhat.com/errata/RHSA-2026:19596
- https://access.redhat.com/errata/RHSA-2026:19597
- https://access.redhat.com/errata/RHSA-2026:76128
- https://access.redhat.com/errata/RHSA-2026:76129
- https://access.redhat.com/errata/RHSA-2026:76130
- https://access.redhat.com/errata/RHSA-2026:76132
- https://access.redhat.com/errata/RHSA-2026:76134
- https://access.redhat.com/security/cve/CVE-2026-7307
- https://bugzilla.redhat.com/show_bug.cgi?id=2476526
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7307.json
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-p5mv-gj8j-xqgf — Keycloak: Denial of Service via specially crafted SAML input
European references
- ENISA EUVD · EUVD-2026-30883
- GCVE · GCVE-0-2026-7307
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*≥ 26.4 < 26.4.12
Affected products
| Product | Versions |
|---|---|
| keycloak | affected 0 < 26.2.16 ; affected 0 < 26.4.12 ; affected 0 < 26.6.2 |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.16-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-21 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-21 < * |
| Red Hat · Red Hat build of Keycloak 26.2.16 | |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.12-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-17 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-17 < * |
| Red Hat · Red Hat build of Keycloak 26.4.12 | |
| Red Hat · Red Hat Single Sign-On 7.6.13 | |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7 | unaffected 0:18.0.20-1.redhat_00001.1.el7sso < * |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8 | unaffected 0:18.0.20-1.redhat_00001.1.el8sso < * |
| Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9 | unaffected 0:18.0.20-1.redhat_00001.1.el9sso < * |
| Red Hat · RHEL-8 based Middleware Containers | unaffected 7.6-85 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |