CVE-2026-120984
Keycloak-services: keycloak-services: manage-clients to arbitrary code execution through inline javascript policy import
- Severity
- critical CVSS 9.1 (v3.1)
- Affects
- Red Hat build of Keycloak 26.4 · Red Hat
- Weakness
- CWE-94: Improper Control of Generation of Code
- Published
- 7 November 2026 by redhat
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.