cve.bz

CVE-2026-7307 redhat build of keycloak

7.5 highEPSS 0.9%Fix available

High (7.5) in redhat build of keycloak. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-saml-core 26.6.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1286 Improper Validation of Syntactic Correctness of Input
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-7307 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-7307?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-7307?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-7307 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-7307

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-7307](https://cve.bz/cve/badge/CVE-2026-7307.svg)](https://cve.bz/cve/CVE-2026-7307)

HTML:

<a href="https://cve.bz/cve/CVE-2026-7307"><img src="https://cve.bz/cve/badge/CVE-2026-7307.svg" alt="CVE-2026-7307"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 26.226.2.16-1
Red Hat build of Keycloak 26.226.2-21
Red Hat build of Keycloak 26.426.4.12-1
Red Hat build of Keycloak 26.426.4-17
Red Hat Single Sign-On 7.6 for RHEL 70:18.0.20-1.redhat_00001.1.el7sso
Red Hat Single Sign-On 7.6 for RHEL 80:18.0.20-1.redhat_00001.1.el8sso
Red Hat Single Sign-On 7.6 for RHEL 90:18.0.20-1.redhat_00001.1.el9sso
Red Hat RHEL-8 based Middleware Containers7.6-85

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p5mv-gj8j-xqgfMavenorg.keycloak:keycloak-saml-core<26.6.226.6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatred_hat_single_sign_on:7.6::el7rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.20-1.redhat_00001.1.el7ssoRHSA-2026:76128
Red Hatred_hat_single_sign_on:7.6::el8rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.20-1.redhat_00001.1.el8ssoRHSA-2026:76129
Red Hatred_hat_single_sign_on:7.6::el9rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.20-1.redhat_00001.1.el9ssoRHSA-2026:76130

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is a High severity denial of service vulnerability in Keycloak. An unauthenticated attacker with network access can send specially crafted XML input to the SAML endpoint, causing high CPU utilization and worker thread exhaustion, which renders the Keycloak server unavailable. This directly impacts the availability of Keycloak instances where the SAML protocol is enabled.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat build of Keycloak 26.2rhbk/keycloak-operator-bundle:26.2.16-1Fixed 2026-05-20RHSA-2026:19595
Red Hat build of Keycloak 26.2rhbk/keycloak-rhel9:26.2-21Fixed 2026-05-20RHSA-2026:19595
Red Hat build of Keycloak 26.2rhbk/keycloak-rhel9-operator:26.2-21Fixed 2026-05-20RHSA-2026:19595
Red Hat build of Keycloak 26.2.16rhbk/keycloak-rhel9Fixed 2026-05-20RHSA-2026:19594
Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle:26.4.12-1Fixed 2026-05-20RHSA-2026:19597
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9:26.4-17Fixed 2026-05-20RHSA-2026:19597
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator:26.4-17Fixed 2026-05-20RHSA-2026:19597
Red Hat build of Keycloak 26.4.12rhbk/keycloak-rhel9Fixed 2026-05-20RHSA-2026:19596
Red Hat Single Sign-On 7.6.13keycloak-servicesFixed 2026-10-05RHSA-2026:76132
Red Hat Single Sign-On 7.6 for RHEL 7rh-sso7-keycloak-0:18.0.20-1.redhat_00001.1.el7ssoFixed 2026-10-06RHSA-2026:76128
Red Hat Single Sign-On 7.6 for RHEL 8rh-sso7-keycloak-0:18.0.20-1.redhat_00001.1.el8ssoFixed 2026-10-06RHSA-2026:76129
Red Hat Single Sign-On 7.6 for RHEL 9rh-sso7-keycloak-0:18.0.20-1.redhat_00001.1.el9ssoFixed 2026-10-06RHSA-2026:76130
RHEL-8 based Middleware Containersrh-sso-7/sso76-openshift-rhel8:7.6-85Fixed 2026-10-05RHSA-2026:76134

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-7307.

Attack patterns (CAPEC)

  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-676 NoSQL Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON