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.
Severity (CVSS)
| Base score | 9.1 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-94 — Improper Control of Generation of Code
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Build of Keycloak | — |
| Red Hat | Red Hat Build of Keycloak | — |
| Red Hat | Red Hat Single Sign-On 7 | — |
References
- https://access.redhat.com/security/cve/CVE-2026-120984 (vdb-entry x_refsource_REDHAT)
- https://bugzilla.redhat.com/show_bug.cgi?id=2565599 (issue-tracking x_refsource_REDHAT)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 08 Nov 2026 08:01 UTC.