[ CVE-2026-120984 · Published 7 Nov 2026 ]
Vulnerability in Red Hat Build of Keycloak
[ Why it matters ]Priority signals
- Critical severity: CVSS 9.1
[ Description ]Official 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.
[ Fixes ]How to fix it
Vendor advisories and patches
- Vendor advisoryaccess.redhat.com
Until you can patch: our advice
- Limit the feature that runs commands. This is an injection flaw that can run commands or code. If the affected feature or endpoint can be switched off, switch it off; limit the admin interface to trusted addresses; and watch for unexpected processes started by the service.
- Review who has an account. An attacker needs an account first. Remove accounts that are not needed, require multi-factor authentication, and keep admin interfaces off the internet.
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-4386
Keycloak: Vulnerability allows code execution Translated from German