CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
org.keycloak:keycloak-services through 26.5.5
GitHub advisory GHSA-m32f-8vh9-2hh3
Fixed in
Not listed
check the vendor advisory
Severity
Medium 6.9
CVSS 3.1 from redhat
Exploit odds (EPSS)
0.37% in 30 days
higher than 33% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
Red HatRed Hat build of Keycloak 26.4.12not stated
Red HatRed Hat Build of Keycloak rhbk/keycloak-rhel9all 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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.keycloak:keycloak-services<= 26.5.5none listedGHSA-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?

VendorProductVersionsType
redhatbuild of keycloakall versionsapplication

NVD analysis (status Modified), last modified October 26, 2026, 21:10 UTC.

How severe is CVE-2026-37980?

ScoreVersionVectorSource
Medium 6.9CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:Nredhat
Medium 4.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NNVD

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?

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?

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?

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.