cvelo
P2 · HighCVSS 9.1EPSS 0.7%

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

  • CVE-2026-120984
  • GHSA-2539-2x8g-x597
  • EUVD-2026-119254

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Red Hat Red Hat build of Keycloak 26.4

    Affected versionsFixed in
    from 26.4.18-1 onwards: not affectednone stated
    from 26.4-30 onwards: not affectednone stated
    from 26.4-31 onwards: not affectednone stated
  • Red Hat Red Hat build of Keycloak 26.4.18

    No versions listed

  • Red Hat Red Hat Single Sign-On 7

    No versions listed

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.