Read the docs
TI-2026-06414 Aliases CVE-2026-7307GHSA-p5mv-gj8j-xqgf

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

Priority MEDIUM 40CWE-1286Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

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, leading to a Denial of Service (DoS) where the server becomes unavailable.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00878 59th percentileScored 2026-11-07
Fix Fixed keycloak: 26.2.16, 26.4.12, 26.6.2org.keycloak:keycloak-saml-core (Maven): 26.6.2Red Hat: 9 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—keycloakbefore 26.2.16; before 26.4.12; before 26.6.226.2.16, 26.4.12, 26.6.2Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2.16-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2-21Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2-21Patch availableCNA
Red HatRed Hat build of Keycloak 26.2.16——Not affectedCNA
Red HatRed Hat build of Keycloak 26.4—26.4.12-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.4—26.4-17Patch availableCNA
Red HatRed Hat build of Keycloak 26.4—26.4-17Patch availableCNA
Red HatRed Hat build of Keycloak 26.4.12——Not affectedCNA
Red HatRed Hat Single Sign-On 7.6.13——Not affectedCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 7—18.0.20-1.redhat_00001.1.el7ssoPatch availableCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 8—18.0.20-1.redhat_00001.1.el8ssoPatch availableCNA
Red HatRed Hat Single Sign-On 7.6 for RHEL 9—18.0.20-1.redhat_00001.1.el9ssoPatch availableCNA
Red HatRHEL-8 based Middleware Containers—7.6-85Patch availableCNA
—org.keycloak:keycloak-saml-core (Maven)before 26.6.226.6.2Patch availableGHSA-p5mv-gj8j-xqgf
  • keycloak Vendor— Affected before 26.2.16; before 26.4.12; before 26.6.2 Fixed in 26.2.16, 26.4.12, 26.6.2 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.16-1 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-21 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-21 Patch available CNA
  • Red Hat build of Keycloak 26.2.16 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.12-1 Patch available CNA
  • Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-17 Patch available CNA
  • Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-17 Patch available CNA
  • Red Hat build of Keycloak 26.4.12 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7.6.13 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7.6 for RHEL 7 VendorRed Hat Affected — Fixed in 18.0.20-1.redhat_00001.1.el7sso Patch available CNA
  • Red Hat Single Sign-On 7.6 for RHEL 8 VendorRed Hat Affected — Fixed in 18.0.20-1.redhat_00001.1.el8sso Patch available CNA
  • Red Hat Single Sign-On 7.6 for RHEL 9 VendorRed Hat Affected — Fixed in 18.0.20-1.redhat_00001.1.el9sso Patch available CNA
  • RHEL-8 based Middleware Containers VendorRed Hat Affected — Fixed in 7.6-85 Patch available CNA
  • org.keycloak:keycloak-saml-core (Maven) Vendor— Affected before 26.6.2 Fixed in 26.6.2 Patch available GHSA-p5mv-gj8j-xqgf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*26.4 to before 26.4.12VulnerableRed Hat
  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* Versions 26.4 to before 26.4.12 Vulnerable ·Red Hat

Remediation

  • Fix · CNA keycloak Fixed in 26.2.16, 26.4.12, 26.6.2
  • Fix · GHSA-p5mv-gj8j-xqgf org.keycloak:keycloak-saml-core (Maven) Fixed in 26.6.2 Advisory →

Red Hat 9 advisories

  • RHSA-2026:76128 Released 2026-10-06 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.13 security update on RHEL 7
    • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.20-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.20-1.redhat_00001.1.el7sso
  • RHSA-2026:76130 Released 2026-10-06 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.13 security update on RHEL 9
    • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.20-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.20-1.redhat_00001.1.el9sso
  • RHSA-2026:76129 Released 2026-10-06 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.13 security update on RHEL 8
    • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.20-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.20-1.redhat_00001.1.el8sso
Show 6 more Red Hat advisories
  • RHSA-2026:76134 Released 2026-10-05 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.13 for OpenShift image security update
    • Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
  • RHSA-2026:76132 Released 2026-10-05 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.13 security update
    • Red Hat Single Sign-On 7.6.13
  • RHSA-2026:19597 Released 2026-05-20 · Red Hat rating Important
    Red Hat build of Keycloak 26.4.12 Images Security Update
    • Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2026:19594 Released 2026-05-20 · Red Hat rating Important
    Red Hat build of Keycloak 26.2.16 Security Update
    • Red Hat build of Keycloak 26.2.16
  • RHSA-2026:19596 Released 2026-05-20 · Red Hat rating Important
    Red Hat build of Keycloak 26.4.12 Security Update
    • Red Hat build of Keycloak 26.4.12
  • RHSA-2026:19595 Released 2026-05-20 · Red Hat rating Important
    Red Hat build of Keycloak 26.2.16 Images Security Update
    • Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Red Hat RHEL-8 based Middleware Containers, Red Hat Single Sign-On 7.6 for RHEL 7 and 7 more products — RHSA-2026:19594

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-06594 Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloakPriority LOW 38
    • TI-2026-06597 Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeoverPriority LOW 36
  • Advisory ·

    Red Hat RHEL-8 based Middleware Containers, Red Hat Single Sign-On 7.6 for RHEL 7 and 7 more products — RHSA-2026:19595

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-06594 Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloakPriority LOW 38
    • TI-2026-06597 Org.keycloak/keycloak-services: session fixation in oidc login flow that can lead to account takeoverPriority LOW 36

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Middleware Containers for OpenShiftFixed RHSA-2026:76134
Red Hat Single Sign-On 7.6 for RHEL 7 ServerFixed RHSA-2026:76128
Red Hat Single Sign-On 7.6 for RHEL 8Fixed RHSA-2026:76129
Red Hat Single Sign-On 7.6 for RHEL 9Fixed RHSA-2026:76130
Red Hat Single Sign-On 7.6.13Fixed RHSA-2026:76132
Red Hat build of Keycloak 26.2Fixed RHSA-2026:19595
Red Hat build of Keycloak 26.2.16Fixed RHSA-2026:19594
Red Hat build of Keycloak 26.4Fixed RHSA-2026:19597
Red Hat build of Keycloak 26.4.12Fixed RHSA-2026:19596

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-7307
  2. 2026-10-03 Alias added: GHSA-p5mv-gj8j-xqgf
  3. 2026-10-06 Fix available: rh-sso-7/[email protected] · CNA
  4. 2026-10-06 2 new references · CNA
  5. 2026-10-06 Fix available: RHSA-2026:76134 · Red Hat
  6. 2026-10-06 Fix available: RHSA-2026:76132 · Red Hat
  7. 2026-10-06 Fix available: RHSA-2026:76129 · Red Hat
  8. 2026-10-06 Fix available: RHSA-2026:76130 · Red Hat
  9. 2026-10-06 Fix available: Middleware Containers for OpenShift, Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat Single Sign-On 7.6 for RHEL 9 +1 · Red Hat
  10. 2026-10-06 Fix available: rh-sso7-keycloak@0:18.0.20-1.redhat_00001.1.el8sso, rh-sso7-keycloak@0:18.0.20-1.redhat_00001.1.el9sso · CNA
  11. 2026-10-06 2 new references · CNA
  12. 2026-10-06 Fix available: rh-sso7-keycloak@0:18.0.20-1.redhat_00001.1.el7sso · CNA
  13. 2026-10-06 1 new reference · CNA
  14. 2026-10-07 Fix available: RHSA-2026:76128 · Red Hat
  15. 2026-10-07 Fix available: Red Hat Single Sign-On 7.6 for RHEL 7 Server · Red Hat

References

  • TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
  • TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
  • TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
  • TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
  • TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
  • TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
See all 110 →

Sources