Arbitrary Code Injection Affecting keycloak-services package, versions *


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.61% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-KEYCLOAKSERVICES-22284583
  • published8 Nov 2026
  • disclosed7 Jan 2026

Introduced: 7 Jan 2026

CVE-2026-120984  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:9 keycloak-services.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-services package and not the keycloak-services package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1