CVE-2026-14614

Keycloak-services: keycloak-services: fgap v2 client scope assignment bypass via clientresource

Published Jul 3, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the ClientResource component of Keycloak's admin services when Fine-Grained Admin Permissions (FGAP) v2 is enabled. This issue allows a delegated administrator, who should only have limited control over specific clients, to attach or remove hidden client scopes that they are not authorized to see or manage. As a result, an attacker could inject unauthorized data or permissions into the security tokens issued to end-users, potentially tricking other applications into granting higher levels of access than intended.

Analysis

AI-generated

Technical impact

A flaw resides in Keycloak’s ClientResource component when Fine‑Grained Admin Permissions (FGAP) v2 is enabled. A delegated administrator, who should only manage a subset of clients, can attach or remove hidden client scopes that are outside his authorized view, thereby inserting unauthorized scopes into the security tokens issued to end users. These injected scopes can grant downstream applications higher levels of access than intended. The weakness represents an improper access control (CWE‑284) and an authorization bypass via user‑controlled keys (CWE‑639).

Affected Systems

Red Hat Build of Keycloak, Red Hat Data Grid 8, JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7 are affected. No specific version information is provided in the CVE payload.

Risk and Exploitability

The vulnerability can be exploited by any user who has been delegated administrative privileges under FGAP v2, typically through the Keycloak admin console or its REST API (the attack vector is inferred from the mention of administrative interfaces). After authenticating, the attacker can identify client‑scope identifiers that are hidden from their view and then assign or remove those scopes to a client, causing the altered scopes to appear in the bearer tokens that end users receive. This can lead to unintended privilege elevation or token injection. The CVSS score of 5.4 places the flaw in the medium severity range, but the EPSS score of < 1 % indicates a very low likelihood of current exploitation, and it is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the affected Keycloak distribution to a release that contains the FGAP v2 fix or apply the Red Hat patch when it becomes available.
  • If an immediate update is not possible, temporarily disable FGAP v2 or restrict delegated administrators so that they can only manage the clients they are intended to control.
  • Continuously monitor administrative activity logs for anomalous client‑scope changes and audit security tokens for unexpected or hidden scopes.

Generated by OpenCVE AI on August 1, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On
Type Values Removed Values Added
Weaknesses CWE-639
Type Values Removed Values Added
Weaknesses CWE-732
CWE-862
Type Values Removed Values Added
Weaknesses CWE-732
CWE-862
Type Values Removed Values Added
Weaknesses CWE-284
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-285
CWE-732
Type Values Removed Values Added
Weaknesses CWE-285
CWE-732
Type Values Removed Values Added
Weaknesses CWE-285
CWE-639
Type Values Removed Values Added
Weaknesses CWE-285
CWE-639
Type Values Removed Values Added
Description A flaw was found in the ClientResource component of Keycloak's admin services when Fine-Grained Admin Permissions (FGAP) v2 is enabled. This issue allows a delegated administrator, who should only have limited control over specific clients, to attach or remove hidden client scopes that they are not authorized to see or manage. As a result, an attacker could inject unauthorized data or permissions into the security tokens issued to end-users, potentially tricking other applications into granting higher levels of access than intended.
Title Keycloak-services: keycloak-services: fgap v2 client scope assignment bypass via clientresource
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2026, 6:45 PM
Reserved
Jul 3, 2026, 3:13 PM
Status
Analyzed
Published
Jul 3, 2026, 4:16 PM
Modified
Aug 11, 2026, 3:06 PM
Severity
Moderate
Public date
Jul 3, 2026, 3:21 PM