Skip to content

Get notified

Get an email when a new major security incident drops. No spam, unsubscribe any time.

Only used for pwn.watch incident emails. Protected by Cloudflare Turnstile.

Become a sponsor

One slot: pwn.watch, gifs.so, flavors.design, kitze.io, every kitze repo, and an X shout-out.

Secure checkout on Polar. Right after paying you set up your ad on kitze.io.

LiveCriticalNo patch yetPatch now

Keycloak flaw lets client managers run code on the server through an imported JavaScript policy (CVE-2026-120984)

Keycloak / Red Hat Build of Keycloak (keycloak-services)

Brought to you byTinkerer Club

The private club for people who own their servers, run their own AI, and pay $0/month for software.

Red Hat disclosed a flaw in Keycloak's client management component (keycloak-services). When a client is created or imported with authorization services enabled, Keycloak fails to clear an internal session attribute used during setup. An authenticated attacker who holds client management permissions (manage-clients) can use that to get past the checks that normally block uploaded JavaScript policies and import a malicious inline JavaScript policy, which the server then executes when an authorization request comes in. That gives the attacker arbitrary code execution on the Keycloak server and can compromise the whole system. Red Hat rates it CVSS 3.1 9.1 (Critical; network, low complexity, high privileges required, scope changed). The CVE was published on Nov 7 2026; no fixed Keycloak or Red Hat Build of Keycloak release is listed yet (it is not in the Keycloak 26.8.2 release notes and the Red Hat bug is still NEW), and no exploitation has been reported.

Why this severity: CVSS 3.1 9.1 (Red Hat, AV:N/AC:L/PR:H/UI:N/S:C); needs an account with client management (manage-clients) permissions; leads to code execution on the Keycloak server; no fix listed yet; no exploitation reported

Started
Nov 7, 2026

Follow this incident

Discuss on X ↗

Affected

  • Keycloak (keycloak-services) with authorization services, up to and including 26.8.2 (no fixed release listed yet)
  • Red Hat Build of Keycloak (keycloak-services) until Red Hat ships a fixed build

Fixed in

No fixed release yet

Timeline2

  1. Red Hat publishes CVE-2026-120984 (CVSS 3.1 9.1): a stale session attribute left after creating or importing a client with authorization services lets a client manager upload a malicious JavaScript policy that runs on the server. No fixed version is listed yet.

  2. Red Hat opens Bugzilla 2565599: "manage-clients to arbitrary code execution through inline JavaScript policy import" in keycloak-services.

Advisories3

Notes & caveats

Watch Keycloak releases and Red Hat errata for a fixed version.

Get an email when a new major security incident drops. No spam, unsubscribe any time.