Read the docs
TI-2025-09219 Aliases CVE-2025-10044GHSA-27gc-wj6x-9w55

Keycloak: keycloak error_description injection on error pages

Priority LOW 20CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · Low · 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. Keycloak’s account console and other pages accept arbitrary text in the error_description query parameter. This text is directly rendered in error pages without validation or sanitization. While HTML encoding prevents XSS, an attacker can craft URLs with misleading messages (e.g., fake support phone numbers or URLs), which are displayed within the trusted Keycloak UI. This creates a phishing vector, potentially tricking users into contacting malicious actors.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00324 25th percentileScored 2026-11-07
Fix Fixed keycloak (Keycloak): 26.2.9org.keycloak:keycloak-account-ui (Maven): 26.2.9, 26.3.4+1 more productRed Hat: 4 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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
Keycloakkeycloakbefore 26.2.926.2.9Patch availableCNA
Red HatRed Hat build of Keycloak 26.0—26.0.17-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.0—26.0-21Patch availableCNA
Red HatRed Hat build of Keycloak 26.0—26.0-22Patch availableCNA
Red HatRed Hat build of Keycloak 26.0.17——Not affectedCNA
Red HatRed Hat build of Keycloak 26.2—26.2.9-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2-9Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2-9Patch availableCNA
Red HatRed Hat build of Keycloak 26.2.9——Not affectedCNA
—org.keycloak:keycloak-account-ui (Maven)before 26.2.926.2.9Patch availableGHSA-27gc-wj6x-9w55
—org.keycloak:keycloak-account-ui (Maven)26.3.0 to before 26.3.426.3.4Patch availableGHSA-27gc-wj6x-9w55
—org.keycloak:keycloak-admin-ui (Maven)before 26.2.926.2.9Patch availableGHSA-27gc-wj6x-9w55
—org.keycloak:keycloak-admin-ui (Maven)26.3.0 to before 26.3.426.3.4Patch availableGHSA-27gc-wj6x-9w55
  • keycloak VendorKeycloak Affected before 26.2.9 Fixed in 26.2.9 Patch available CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0.17-1 Patch available CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0-21 Patch available CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0-22 Patch available CNA
  • Red Hat build of Keycloak 26.0.17 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.9-1 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-9 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-9 Patch available CNA
  • Red Hat build of Keycloak 26.2.9 VendorRed Hat Affected — Fixed in — Not affected CNA
  • org.keycloak:keycloak-account-ui (Maven) Vendor— Affected before 26.2.9 Fixed in 26.2.9 Patch available GHSA-27gc-wj6x-9w55
  • org.keycloak:keycloak-account-ui (Maven) Vendor— Affected 26.3.0 to before 26.3.4 Fixed in 26.3.4 Patch available GHSA-27gc-wj6x-9w55
  • org.keycloak:keycloak-admin-ui (Maven) Vendor— Affected before 26.2.9 Fixed in 26.2.9 Patch available GHSA-27gc-wj6x-9w55
  • org.keycloak:keycloak-admin-ui (Maven) Vendor— Affected 26.3.0 to before 26.3.4 Fixed in 26.3.4 Patch available GHSA-27gc-wj6x-9w55

CPE names CNA · 3

CPEVersionsRoleVendor
cpe:/a:redhat:build_keycloak:26.0::el926.0—Red Hat
cpe:/a:redhat:build_keycloak:26.026.0—Red Hat
cpe:/a:redhat:build_keycloak:26.2::el926.2—Red Hat
  • cpe:/a:redhat:build_keycloak:26.0::el9 Versions 26.0 — ·Red Hat
  • cpe:/a:redhat:build_keycloak:26.0 Versions 26.0 — ·Red Hat
  • cpe:/a:redhat:build_keycloak:26.2::el9 Versions 26.2 — ·Red Hat

Remediation

  • Fix · CNA keycloak (Keycloak) Fixed in 26.2.9
  • Fix · GHSA-27gc-wj6x-9w55 org.keycloak:keycloak-account-ui (Maven) Fixed in 26.2.9 Advisory →
  • Fix · GHSA-27gc-wj6x-9w55 org.keycloak:keycloak-account-ui (Maven) Fixed in 26.3.4 Advisory →
  • Fix · GHSA-27gc-wj6x-9w55 org.keycloak:keycloak-admin-ui (Maven) Fixed in 26.2.9 Advisory →
  • Fix · GHSA-27gc-wj6x-9w55 org.keycloak:keycloak-admin-ui (Maven) Fixed in 26.3.4 Advisory →

Red Hat 4 advisories

  • RHSA-2025:19923 Released 2025-11-07 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.0.17 Images Update
    • Red Hat build of Keycloak 26.0 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2025:19925 Released 2025-11-07 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.0.17 Update
    • Red Hat build of Keycloak 26.0.17
  • RHSA-2025:16399 Released 2025-09-22 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.2.9 Security Update
    • Red Hat build of Keycloak 26.2.9
Show 1 more Red Hat advisories
  • RHSA-2025:16400 Released 2025-09-22 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.2.9 Images Security Update
    • Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat build of Keycloak 26.0Fixed RHSA-2025:19923
Red Hat build of Keycloak 26.0.17Fixed RHSA-2025:19925
Red Hat build of Keycloak 26.2Fixed RHSA-2025:16400
Red Hat build of Keycloak 26.2.9Fixed RHSA-2025:16399

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-10044
  2. 2026-10-03 Alias added: GHSA-27gc-wj6x-9w55

References

  • TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
  • TI-2017-05120 It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens… CVSS 3.0CRITICAL 9.8
  • TI-2017-08952 Weak password recovery in Red Hat Keycloak CVSS 3.0HIGH 8.8
  • TI-2014-03024 The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak… CVSS 3.0HIGH 8.8
  • TI-2026-01295 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users CVSS 3.1HIGH 8.1
  • TI-2017-08950 Insufficient session expiration in Red Hat keycloak CVSS 3.0HIGH 7.5
See all 21 →

Sources