Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-120984
Published:November 07, 2026
Updated:November 09, 2026
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 Packages
https://github.com/keycloak/keycloak.git (GITHUB):
Affected version(s) >=8.0.0 <26.4.18 || >=9.0.0 <26.4.18 || >=10.0.0 <26.4.18 || >=11.0.0 <26.4.18 || >=12.0.0 <26.4.18 || >=13.0.0 <26.4.18 || =14.0.0 <26.4.18 || >=15.0.0 <26.4.18 || >=16.0.0 <26.4.18 || >=17.0.0 <26.4.18 || >=18.0.0 <26.4.18 || >=19.0.0 <26.4.18 || >=20.0.0 <26.4.18 || >=21.0.0 <26.4.18 || >=22.0.0 <26.4.18 || >=23.0.0 <26.4.18 || >=24.0.0 <26.4.18 || >=25.0.0 <26.4.18 || >=26.0.0 <26.4.18
Fix Suggestion:
Update to version 26.4.18
org.keycloak:keycloak-services (JAVA):
Affected version(s) >=13.0.0 <26.4.18.redhat-00001 || >=16.0.0 <26.4.18.redhat-00001 || >=25.0.0 <26.4.18.redhat-00001 || >=10.0.0 <26.4.18.redhat-00001 || >=19.0.0 <26.4.18.redhat-00001 || >=9.0.0 <26.4.18.redhat-00001 || >=22.0.0 <26.4.18.redhat-00001 || >=26.0.0 <26.4.18.redhat-00001 || >=20.0.0 <26.4.18.redhat-00001 || >=12.0.0 <26.4.18.redhat-00001 || >=23.0.0 <26.4.18.redhat-00001 || >=15.0.0 <26.4.18.redhat-00001 || >=18.0.0 <26.4.18.redhat-00001 || >=21.0.0 <26.4.18.redhat-00001 || =14.0.0 <26.4.18.redhat-00001 || >=24.0.0 <26.4.18.redhat-00001 || >=11.0.0 <26.4.18.redhat-00001 || >=8.0.0 <26.4.18.redhat-00001 || >=17.0.0 <26.4.18.redhat-00001
Fix Suggestion:
Update to version 26.4.18.redhat-00001
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code
EPSS
Base Score:
0.42