CVE-2026-120984
9.1critical
Keycloak-services: keycloak-services: manage-clients to arbitrary code execution through inline javascript policy import
- Severity
- 9.1critical CVSS:3.1 by redhat
- Exploit likelihood
- 0.72% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A flaw was found in the Keycloak server's client management component. When a client is created or imported with authorization services enabled, the system fails to properly clear an internal session attribute used during the setup process. This allows an authenticated attacker with client management permissions to bypass security controls and upload a malicious JavaScript policy, which is then executed on the server when an authorization request is made. Successful exploitation could allow the attacker to run arbitrary code on the server, potentially compromising the entire system.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.4.18-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.4-30 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.4-31 before * | CVE List |
| keycloak-services | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://access.redhat.com/errata/RHSA-2026:96037 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:96038 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-120984 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2565599 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120984 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2026-120984 changed 2026-11-26 | Public domain |