Description
A flaw was found in the JWT Authorization Grant implementation of the keycloak-services component. When an OIDC or Google identity provider is configured with specific login restrictions, such as claim filtering, these checks are correctly applied during standard browser logins but are skipped during the JWT-based grant flow. This allows an authenticated client to obtain access tokens for a user even if their identity provider claims should have blocked the login.
Published: 2026-10-29
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized Token Issuance
Action: Patch
AI Analysis

Impact

The flaw in the JWT Authorization Grant of the keycloak‑services component allows an authenticated client to bypass login restrictions set by an OIDC or Google identity provider. When claim filtering or similar restrictions are configured, standard browser logins enforce those checks, but the JWT flow skips them. As a result, the attacker can obtain an access token for a user who would otherwise be blocked by the identity provider’s claims, effectively granting the attacker the privileges of that user.

Affected Systems

Affects Red Hat Build of Keycloak and Red Hat Single Sign‑On 7. Because the advisory does not list specific versions, any installation of these products that uses the JWT Authorization Grant should assess whether the flow is enabled and whether claim filtering is required.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. EPSS data is not available and the vulnerability is not listed in KEV, suggesting no widespread exploitation has been observed. The attack requires an authenticated client and a configuration that uses claim filtering; it is therefore limited to environments where the JWT grant is enabled and clients are not tightly restricted. In systems with open client registration or reliance on the JWT grant for privileged operations, the risk is higher and immediate remediation is recommended.

Generated by OpenCVE AI on October 29, 2026 at 07:21 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Disable the JWT Authorization Grant for all clients that are not explicitly approved to use it, or restrict it to a minimal set of trusted clients.
  • Upgrade to the latest Red Hat Build of Keycloak or Red Hat Single Sign‑On releases that incorporate the vendor’s fix once it is released.
  • If an upgrade cannot be performed immediately, enforce claim filtering logic in the application layer or through additional policy enforcement to block tokens issued for non‑qualified users.
  • Review and harden client scopes and role mappings to ensure that only authorized clients can request tokens through the JWT grant.

Generated by OpenCVE AI on October 29, 2026 at 07:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in the JWT Authorization Grant implementation of the keycloak-services component. When an OIDC or Google identity provider is configured with specific login restrictions, such as claim filtering, these checks are correctly applied during standard browser logins but are skipped during the JWT-based grant flow. This allows an authenticated client to obtain access tokens for a user even if their identity provider claims should have blocked the login.
Title Keycloak-services: keycloak-services: jwt authorization grant bypasses identity provider login restrictions
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-862
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
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'}


Subscriptions

Redhat Build Keycloak Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-29T06:22:03.427Z

Reserved: 2026-10-27T13:16:28.163Z

Link: CVE-2026-117627

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-29T07:16:44.533

Modified: 2026-10-29T07:16:44.653

Link: CVE-2026-117627

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T07:30:14Z

Weaknesses