Read the docs

Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass

Priority LOW 35CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

A flaw was found in Keycloak. A remote attacker with administrative privileges, specifically those with `manage-client` permission or access to client registration endpoints, could bypass client Uniform Resource Identifier (URI) validation. This is achieved by registering a malicious client with a specially crafted redirect URI using a case-insensitive `javascript:` or `data:` scheme. This Cross-Site Scripting (XSS) vulnerability allows for arbitrary code execution in the Keycloak origin when a victim clicks the crafted link, such as in the logout flow or the Admin Console.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00781 56th percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-services (Maven): 26.6.4Red Hat: 4 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

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

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat build of Keycloak 26.4—26.4.13-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.4—26.4-19Patch availableCNA
Red HatRed Hat build of Keycloak 26.4—26.4-19Patch availableCNA
Red HatRed Hat build of Keycloak 26.4.13——Not affectedCNA
Red HatRed Hat build of Keycloak 26.6—26.6.4-2Patch availableCNA
Red HatRed Hat build of Keycloak 26.6—26.6-8Patch availableCNA
Red HatRed Hat build of Keycloak 26.6—26.6-8Patch availableCNA
Red HatRed Hat build of Keycloak 26.6.4——Not affectedCNA
—org.keycloak:keycloak-services (Maven)before 26.6.426.6.4Patch availableGHSA-v3f7-2p4r-mwfw
  • Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.13-1 Patch available CNA
  • Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
  • Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
  • Red Hat build of Keycloak 26.4.13 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.4-2 Patch available CNA
  • Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-8 Patch available CNA
  • Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-8 Patch available CNA
  • Red Hat build of Keycloak 26.6.4 VendorRed Hat Affected — Fixed in — Not affected CNA
  • org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.6.4 Fixed in 26.6.4 Patch available GHSA-v3f7-2p4r-mwfw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*26.4 to before 26.4.13; 26.6 to before 26.6.4VulnerableRed Hat
  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* Versions 26.4 to before 26.4.13; 26.6 to before 26.6.4 Vulnerable ·Red Hat

Remediation

  • Fix · GHSA-v3f7-2p4r-mwfw org.keycloak:keycloak-services (Maven) Fixed in 26.6.4 Advisory →

Red Hat 4 advisories

  • RHSA-2026:30084 Released 2026-06-25 · Red Hat rating Important
    Red Hat build of Keycloak 26.6.4 Images Security Update
    • Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2026:30083 Released 2026-06-25 · Red Hat rating Important
    Red Hat build of Keycloak 26.6.4 Security Update
    • Red Hat build of Keycloak 26.6.4
  • RHSA-2026:30050 Released 2026-06-25 · Red Hat rating Important
    Red Hat build of Keycloak 26.4.13 Images Security Update
    • Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 1 more Red Hat advisories
  • RHSA-2026:30049 Released 2026-06-25 · Red Hat rating Important
    Red Hat build of Keycloak 26.4.13 Security Update
    • Red Hat build of Keycloak 26.4.13

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat build of Keycloak 26.4Fixed RHSA-2026:30050
Red Hat build of Keycloak 26.4.13Fixed RHSA-2026:30049
Red Hat build of Keycloak 26.6Fixed RHSA-2026:30084
Red Hat build of Keycloak 26.6.4Fixed RHSA-2026:30083

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-9086
  2. 2026-10-03 Alias added: GHSA-37j9-56gh-j2r7
  3. 2026-10-29 Alias added: GHSA-v3f7-2p4r-mwfw
  4. 2026-10-29 Fix available: Maven/org.keycloak:[email protected] · GHSA-v3f7-2p4r-mwfw
  5. 2026-10-29 CVSS score added · GHSA-v3f7-2p4r-mwfw
  6. 2026-10-29 Weakness changed · GHSA-v3f7-2p4r-mwfw
  7. 2026-10-29 10 new references · GHSA-v3f7-2p4r-mwfw

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