CVE-2026-117627

Keycloak-services: keycloak-services: jwt authorization grant bypasses identity provider login restrictions

Published Oct 29, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 3, 2026, 3:14 PM
Reserved
Oct 27, 2026, 1:16 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 7:16 AM
Modified
Nov 3, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 27, 2026, 11:27 AM