Home / Red Hat / Red Hat build of Keycloak 26.4.12 / CVE-2026-37980
CVE-2026-37980: is it exploited, and which versions of Red Hat build of Keycloak 26.4.12 are affected and fixed?
CVE-2026-37980 is a cross-site scripting (XSS) vulnerability in Red Hat build of Keycloak 26.4.12. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: org.keycloak:keycloak-services through 26.5.5 (GitHub advisory GHSA-m32f-8vh9-2hh3). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.9, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 28, 2026, 17:18 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-37980?
Org.keycloak.forms.login: keycloak: keycloak: arbitrary code execution via stored cross-site scripting (xss) in organization selection login page
A flaw was found in Keycloak, specifically in the organization selection login page. A remote attacker with `manage-realm` or `manage-organizations` administrative privileges can exploit a Stored Cross-Site Scripting (XSS) vulnerability. This flaw occurs because the `organization.alias` is placed into an inline JavaScript `onclick` handler, allowing a crafted JavaScript payload to execute in a user's browser when they view the login page. Successful exploitation enables arbitrary JavaScript execution, potentially leading to session theft, unauthorized account actions, or further attacks against users of the affected realm.
From the CVE record by redhat, last updated November 26, 2026, 22:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4.12 | not stated | |
| Red Hat | Red Hat Build of Keycloak rhbk/keycloak-rhel9 | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | <= 26.5.5 | none listed | GHSA-m32f-8vh9-2hh3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2026. Summary: Keycloak: Arbitrary code execution via Stored Cross-Site Scripting (XSS) in organization selection login page.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | build of keycloak | all versions | application |
NVD analysis (status Modified), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-37980?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N | redhat |
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-37980 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 14, 2026)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 32.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Is there a workaround? (from the CVE record)
Restrict access to the Keycloak administration console and login pages to trusted networks only, ideally through a VPN or by configuring firewall rules. Furthermore, ensure that only highly trusted administrators are granted `manage-realm` or `manage-organizations` privileges within Keycloak. Regularly review and audit administrative accounts and their assigned roles to minimize the risk of unauthorized access and exploitation. If the Keycloak service is restarted or reloaded, these network and access restrictions will persist.
Where are the vendor advisories and references?
- RHSA-2026:19596 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-37980 vdb-entry, x_refsource_REDHAT
- RHBZ#2455325 issue-tracking, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- April 6, 2026
- Published
- April 14, 2026, 14:54 UTC
- CVE record updated
- November 26, 2026, 22:20 UTC by redhat
- NVD
- Modified, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 28, 2026, 17:18 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat build of Keycloak 26.4.12?
- May 19, 2026CVE-2026-7571 Red Hat build of Keycloak 26.4: external Control of Assumed-Immutable Web Parameter
- May 19, 2026CVE-2026-7507 Red Hat build of Keycloak 26.2: authentication bypass by spoofing
- May 19, 2026CVE-2026-7504 Red Hat build of Keycloak 26.2: open redirect
- May 19, 2026CVE-2026-37982 Red Hat build of Keycloak 26.4: authentication bypass by replay
- May 19, 2026CVE-2026-37979 Red Hat build of Keycloak 26.4: authorization bypass through a user-controlled key (IDOR)
- May 19, 2026CVE-2026-37978 Red Hat build of Keycloak 26.4: authorization bypass through a user-controlled key (IDOR)
- May 19, 2026CVE-2026-7307 Red Hat build of Keycloak 26.2: improper Validation of Syntactic Correctness of Input
- May 19, 2026CVE-2026-37981 Red Hat build of Keycloak 26.4: insufficient Granularity of Access Control
Every CVE in Red Hat build of Keycloak 26.4.12
Questions about CVE-2026-37980
Is CVE-2026-37980 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat build of Keycloak 26.4.12 are affected by CVE-2026-37980?
org.keycloak:keycloak-services through 26.5.5, per the GitHub advisory GHSA-m32f-8vh9-2hh3. The tables above give every range the sources list.
Which version fixes CVE-2026-37980?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-37980?
Medium (6.9, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2026-37980?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.