# CVE-2026-120984: Keycloak-services: keycloak-services: manage-clients to arbitrary code execution through inline javascript policy import

- Severity: Critical 9.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-11-07T13:22:00.998Z
- Modified: 2026-11-26T20:17:22.380Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.4.18-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.4-30 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.4-31 before *)
- keycloak-services: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:96037> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:96038> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-120984> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2565599> (issue-tracking)

## Sources

- CVE List: [CVE-2026-120984](https://www.cve.org/CVERecord?id=CVE-2026-120984), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-120984](https://nvd.nist.gov/vuln/detail/CVE-2026-120984), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2026-120984 · Whole record: https://cve.day/CVE-2026-120984.json · Rebuilt by cve.day 2026-11-26T20:32:33.362Z
