CVE-2026-120984
JSON

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 packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.4.18-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.4-30 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.4-31 before *
CVE List
keycloak-servicesNot specifiedCVE List

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120984 changed 2026-11-26CVE Terms of Use
NVDCVE-2026-120984 changed 2026-11-26Public domain