← Back to search

CVE-2026-120984

9.1 CRITICAL

Published 2026-11-07 · Updated 2026-11-09

AI risk analysis

Summary
A session attribute cleanup flaw in Keycloak's client management component allows authenticated attackers with client management permissions to bypass authorization controls by persisting a malicious JavaScript policy. This policy executes server-side during authorization requests, enabling arbitrary code execution.
Exploitability
Exploitation requires authenticated access with client management permissions and knowledge of the internal session attribute handling flaw; no public exploit exists.
Blast radius
Successful exploitation grants full server compromise, including read/write access to all realm data, user credentials, and administrative functions via arbitrary code execution.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Keycloak 25.0.4 or later, as this version includes the fix for improper session attribute cleanup in client authorization setup (CVE-2026-120984).
rceauth-bypasswebsession-handling

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

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

Weaknesses

CWE-94

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.