CVE-2026-7307Keycloak: keycloak: denial of service via specially crafted saml input
- 7.5HighCVSS base score
- 0.88%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 21 days later
· 21 days later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| redhat-SADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.88% · top 40% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
keycloak
- affected < 26.2.16
- affected < 26.4.12
- affected < 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
All versions: unaffected
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
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6.13
All versions: unaffected
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 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-saml-coreGHSA-p5mv-gj8j-xqgf (opens in a new tab)
What to do
Workaround: To mitigate this vulnerability, restrict network access to the Keycloak SAML endpoint to trusted networks and clients. Implement firewall rules to limit inbound connections to the Keycloak service port (e.g., 8080) from untrusted sources. If the SAML protocol is not required for your deployment, consider disabling it to eliminate the attack surface. Applying these network restrictions or configuration changes may necessitate a restart or reload of the Keycloak service, which could temporarily affect its availability.
References
References12
- RHSA-2026:19594 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:19595 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:19596 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:19597 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:76128 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:76129 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:76130 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:76132 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:76134 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-7307 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2476526 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7307.json (opens in a new tab)x_sadp-csaf-vex
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-30883 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p5mv-gj8j-xqgf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-7307)Record last updated .