PoC Monitor
← All CVEs
CVE-2026-7307published 19 May 2026 10:52 UTCData: JSON · API

Red Hat build of Keycloak 26.2

Keycloak: keycloak: denial of service via specially crafted saml input

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-1286
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • < 26.2.16
  • < 26.4.12
  • < 26.6.2

Fixed in 26.2.16, 26.4.12, 26.6.2

Red Hat Red Hat build of Keycloak 26.2

    Fixed in 26.2.16-1

    Red Hat Red Hat build of Keycloak 26.2

      Fixed in 26.2-21

      Red Hat Red Hat build of Keycloak 26.2

        Fixed in 26.2-21

        Red Hat Red Hat build of Keycloak 26.4

          Fixed in 26.4.12-1

          Red Hat Red Hat build of Keycloak 26.4

            Fixed in 26.4-17

            Red Hat Red Hat build of Keycloak 26.4

              Fixed in 26.4-17

              Red Hat Red Hat Single Sign-On 7.6 for RHEL 7

                Fixed in 0:18.0.20-1.redhat_00001.1.el7sso

                Red Hat Red Hat Single Sign-On 7.6 for RHEL 8

                  Fixed in 0:18.0.20-1.redhat_00001.1.el8sso

                  Red Hat Red Hat Single Sign-On 7.6 for RHEL 9

                    Fixed in 0:18.0.20-1.redhat_00001.1.el9sso

                    Red Hat RHEL-8 based Middleware Containers

                      Fixed in 7.6-85

                      Mitigation

                      Upgrade the affected product to 26.2.16 or 26.4.12 or 26.6.2 or later.

                      Upgrade Red Hat build of Keycloak 26.2 to 26.2.16-1 or later.

                      Upgrade Red Hat build of Keycloak 26.2 to 26.2-21 or later.

                      Upgrade Red Hat build of Keycloak 26.2 to 26.2-21 or later.

                      Upgrade Red Hat build of Keycloak 26.4 to 26.4.12-1 or later.

                      Upgrade Red Hat build of Keycloak 26.4 to 26.4-17 or later.

                      Upgrade Red Hat build of Keycloak 26.4 to 26.4-17 or later.

                      Upgrade Red Hat Single Sign-On 7.6 for RHEL 7 to 0:18.0.20-1.redhat_00001.1.el7sso or later.

                      Upgrade Red Hat Single Sign-On 7.6 for RHEL 8 to 0:18.0.20-1.redhat_00001.1.el8sso or later.

                      Upgrade Red Hat Single Sign-On 7.6 for RHEL 9 to 0:18.0.20-1.redhat_00001.1.el9sso or later.

                      Upgrade RHEL-8 based Middleware Containers to 7.6-85 or later.

                      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

                      5 more

                      Timeline

                      Days relative to CVE publication
                      -2t=0+2+4+6+8CVE published19 May 2026 · t = 0

                      No public PoC found yet; not in CISA KEV.

                      PoC repositories

                      Found on GitHub.

                      No PoC repositories found yet.