Keycloak-services: keycloak-services: manage-clients to arbitrary code execution through inline javascript policy import
CVE-2026-120984Published 7 Nov 2026, 13:22 UTC
Real-world risk
1.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| KeycloakWidespread | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Public proof of concept on GitHub
EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together0.200
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.2 × threat 0.951.900
- Rounded to one decimal between 0.1 and 101.9
Exploitation and evidence timeline
- 7 Nov 2026 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Risk 1.9 (cvss fallback)
Weakness
CWE-94
References
- https://access.redhat.com/errata/RHSA-2026:96037redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:96038redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-120984redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2565599issue-tracking, redhat
- CVE-2026-120984 on CVE.org