Keycloak: keycloak error_description injection on error pages
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Keycloak | keycloak | before 26.2.9 | 26.2.9 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0 | — | 26.0.17-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0 | — | 26.0-21 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0 | — | 26.0-22 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0.17 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2.9-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-9 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-9 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2.9 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-account-ui (Maven) | before 26.2.9 | 26.2.9 | Patch available | GHSA-27gc-wj6x-9w55 |
| — | org.keycloak:keycloak-account-ui (Maven) | 26.3.0 to before 26.3.4 | 26.3.4 | Patch available | GHSA-27gc-wj6x-9w55 |
| — | org.keycloak:keycloak-admin-ui (Maven) | before 26.2.9 | 26.2.9 | Patch available | GHSA-27gc-wj6x-9w55 |
| — | org.keycloak:keycloak-admin-ui (Maven) | 26.3.0 to before 26.3.4 | 26.3.4 | Patch available | GHSA-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
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 ModerateRed 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 ModerateRed 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 ModerateRed 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 ModerateRed 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.0 | Fixed | RHSA-2025:19923 |
| Red Hat build of Keycloak 26.0.17 | Fixed | RHSA-2025:19925 |
| Red Hat build of Keycloak 26.2 | Fixed | RHSA-2025:16400 |
| Red Hat build of Keycloak 26.2.9 | Fixed | RHSA-2025:16399 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-10044
- 2026-10-03 Alias added: GHSA-27gc-wj6x-9w55
References
Advisory 5
More Keycloak vulnerabilities
- 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
Sources
- CVE-2025-10044 · CVE Program
- CVE-2025-10044 · NVD
- FIRST EPSS
- GHSA-27gc-wj6x-9w55 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-10044 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences