LearnCTEM.com, Best CTEM Learning Platform
CVE Intelligence Hub

CVE-2026-120984: Red Hat Keycloak server's client management component Code Injection Vulnerability

CVE-2026-120984 explained: critical Code Injection in Red Hat Keycloak server's client management component. CVSS 9.1. Affected versions, detection, fixes and CTEM p

Last updated: Nov 7, 2026

CVSS
9.1 CRITICAL
EPSS
n/a
CISA KEV
Not listed
CWE
CWE-94

Sources: National Vulnerability Database, CVE.org, CISA KEV, FIRST EPSS

CVE-2026-120984 Overview

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.

Critical Impact

Remote, authenticated attackers can exploit this Code Injection in Red Hat Keycloak server's client management component. The CVSS base score is 9.1 (Critical).

Affected Products

  • Red Hat Keycloak server's client management component: see the vendor advisory for the exact affected versions

Discovery Timeline

  • 2026-11-07: CVE-2026-120984 published to the National Vulnerability Database by secalert@redhat.com
  • 2026-11-07: last updated in the NVD database

Technical Details for CVE-2026-120984

Vulnerability Analysis

CVE-2026-120984 is a Code Injection weakness (CWE-94: Code Injection) in Red Hat Keycloak server's client management component. Based on its CVSS vector, the flaw can be reached over the network, needs some level of access, and needs no user interaction. Attacker input is executed as program code.

With a CVSS base score of 9.1, apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Root Cause

The weakness is classified as CWE-94: Code Injection. Attacker input is executed as program code.

Attack Vector

Based on the CVSS vector, the flaw can be reached over the network, needs some level of access, and needs no user interaction. Attack complexity is low complexity.

No exploitation in the wild is confirmed by CISA at the time of the last update. Check the references below for any vendor or researcher proof of concept.

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

Detection Methods for CVE-2026-120984

Detection Strategies

  • Inventory every instance of Red Hat Keycloak server's client management component and compare the running version with the affected range above.
  • Check external attack surface scans for internet facing instances of the component.
  • Run an authenticated vulnerability scan once your scanner ships a check for this CVE.

Monitoring Recommendations

  • Forward Red Hat Keycloak server's client management component application, access and audit logs to your SIEM for retrospective hunting.
  • Alert on new processes, configuration changes or outbound connections from the affected service.
  • Track the vendor advisory and the CISA KEV catalog for changes in exploitation status.

How to Mitigate CVE-2026-120984

Immediate Actions Required

  • Apply the fixed version of Red Hat Keycloak server's client management component named in the vendor advisory.
  • Prioritize internet facing and business critical instances first.
  • Rescan after the change to confirm the exposure is closed.

Patch Information

Use the fixed version listed in the vendor advisory for Red Hat Keycloak server's client management component.

Workarounds

  • If patching must wait, restrict network access to the affected service and place it behind authentication or a web application firewall rule.

CWE References

Technical References

This entry is built directly from NVD, CISA KEV and EPSS data. Verify fixed versions in the vendor advisory before you deploy.

Frequently asked questions

CVE-2026-120984 is a critical severity Code Injection in Red Hat Keycloak server's client management component with a CVSS score of 9.1. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Related CVEs

HIGH8.8
CVE-2026-50240
Red Hat OpenShift Pipelines-as-Code (PAC)

A flaw was found in OpenShift Pipelines-as-Code (PAC). PAC does not verify whether the creator of a Repository custom resource has permission to create PipelineRuns. A namespace user with only Repository and Secret create/delete permissions can cause PAC to execute attacker-controlled PipelineRuns as the auto-provisioned pipeline ServiceAccount, which carries ClusterRole/edit by default. This results in namespace-scoped privilege escalation, enabling Secret read, resource creation/modification/deletion, and potential supply chain injection in CI/CD namespaces.

Nov 6, 2026
HIGH7.1
CVE-2026-97847
Red Hat protocol mapper and identity resolution components of Keycloak

A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.

Nov 5, 2026
HIGH8.8
CVE-2026-97175
Red Hat idp-auto-link authenticator of the keycloak-services component

A flaw was found in the idp-auto-link authenticator of the keycloak-services component, which handles user identity federation. The issue occurs when Keycloak automatically links an incoming identity from an external provider to an existing local account based on an email address without verifying if the provider has validated that email. This can allow an attacker to take over a victim's account by using a matching unverified email address at a brokered provider.

Nov 5, 2026
HIGH8.0
CVE-2026-96453
Red Hat Keycloak Admin CLI kcadm tool

A flaw was found in the Keycloak Admin CLI kcadm tool, which is used by administrators to manage Keycloak servers from the command line. When a custom truststore is provided to verify the server identity, the tool incorrectly accepts any self-signed certificate as long as the hostname matches. This allows a network attacker to impersonate the Keycloak server, steal administrative credentials, and perform unauthorized management actions.

Nov 5, 2026
HIGH8.1
CVE-2026-92857
Red Hat product

Keycloak provides a Dynamic Client Registration feature that allows users with specific tokens to register their own applications. A flaw in how Keycloak validates these registration requests allows an attacker to create a malicious application that forges identity information. By mapping their own user profile details to protected fields like the user ID (sub) or intended audience (aud), an attacker can generate signed security tokens that make them appear to be a different user. This could allow an attacker to impersonate other users or gain unauthorized access to services that rely on these tokens for identity verification.

Nov 5, 2026
HIGH7.4
CVE-2026-92855
Red Hat SAML identity broker component of Keycloak

A flaw was found in the SAML identity broker component of Keycloak, which is used to delegate authentication to external identity providers. The issue occurs because the broker fails to verify that a user actually possesses the private key associated with a holder-of-key assertion. An attacker who intercepts a victim signed assertion can replay it to gain unauthorized access and impersonate the victim without needing their private key.

Nov 5, 2026
All Red Hat CVEs in 2026
Your next credential

Earn your free CTEM certification.

Learn to scope, prioritize, validate and mobilize fixes for CVEs like CVE-2026-120984 with a free CTEM certification.

Free to takePublicly verifiable

Beginner / Practitioner / Program Leader

Explore certifications