CVE-2026-120984 CRITICAL

CVE-2026-120984: Keycloak-services: keycloak-services: manage-clients to arbitrary code execution through inline javascript policy import

Vendor Red Hat
Product Red Hat Build of Keycloak
Weakness CWE-94 · Code injection
Published November 7, 2026
Last update November 9, 2026

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 7, 2026 CVE published
November 9, 2026 Record updated

Related vulnerabilities

04Related CVE