Paper/Archive/CVE-2026-120984

CVE-2026-120984

Red Hat Red Hat build of Keycloak 26.4 — Keycloak-services: keycloak-services: manage-clients to arbitrary code execution through inline javascript policy import

Description · from the CVE record

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

ProductAffectedFixed inSource
Red Hat build of Keycloak 26.4see advisory26.4.18-1CNA
Red Hat build of Keycloak 26.4see advisory26.4-30CNA
Red Hat build of Keycloak 26.4see advisory26.4-31CNA
Red Hat build of Keycloak 26.4.18see advisory–CNA
Red Hat build of Keycloak 26.4.18see advisory–CNA
Red Hat Single Sign-On 7see advisory–CNA

Scores by source

redhat (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

advisoryaccess.redhat.com/errata/RHSA-2026:96037advisoryaccess.redhat.com/errata/RHSA-2026:96038refaccess.redhat.com/security/cve/CVE-2026-120984refbugzilla.redhat.com/show_bug.cgi?id=2565599