CVE-2026-96460

Keycloak-services: keycloak-services: indefinite access token renewal via standard token exchange v2

Published Nov 6, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the token exchange mechanism of Keycloak. When using Standard Token Exchange V2, the system issues new tokens with a fresh lifetime based on the requester clients configuration instead of limiting it to the original tokens expiration. This issue allows an authenticated requester to indefinitely extend access for service accounts by repeatedly exchanging tokens, even if the original client has been disabled by an administrator.

Analysis

AI-generated

Technical impact

Keycloak’s token exchange mechanism has an authorization flaw that causes it to issue new tokens with lifetimes derived solely from the requester client’s settings, rather than clamping the lifetime to the original token’s expiration. An authenticated requester can repeatedly request token exchanges to extend a service account’s access indefinitely, even after the original client is disabled by an administrator. This flaw effectively bypasses normal authorization controls and allows continued privileged access over an extended period.

Affected Systems

The vulnerability affects the Keycloak service. No specific vendor or product version information is provided in the CVE data, so all Keycloak deployments that include the Standard Token Exchange V2 functionality and do not apply the official fix are potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate security impact. EPSS information is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting that there is no widespread active exploitation yet. The likely attack vector is remote authenticated; an attacker who can obtain a valid access token can exploit the issue by repeatedly requesting Standard Token Exchange V2 requests. The problem does not allow code execution, but it enables persistent expansion of a service account’s privileges, which can lead to sustained unauthorized access and data exfiltration.

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

  • Update Keycloak to the latest version that contains the fix for this vulnerability.
  • If an update is not immediately possible, modify the client configuration to set a hard maximum token lifetime or disable Standard Token Exchange for clients that control critical service accounts.
  • Monitor token exchange activity and revoke tokens for disabled or revoked clients, and review logs for abnormal token renewal patterns.

Generated by OpenCVE AI on November 6, 2026 at 01:51 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
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Title keycloak-services: keycloak-services: Indefinite access token renewal via Standard Token Exchange V2 Keycloak-services: keycloak-services: indefinite access token renewal via standard token exchange v2
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
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
Type Values Removed Values Added
Description A flaw was found in the token exchange mechanism of Keycloak. When using Standard Token Exchange V2, the system issues new tokens with a fresh lifetime based on the requester clients configuration instead of limiting it to the original tokens expiration. This issue allows an authenticated requester to indefinitely extend access for service accounts by repeatedly exchanging tokens, even if the original client has been disabled by an administrator.
Title keycloak-services: keycloak-services: Indefinite access token renewal via Standard Token Exchange V2
Weaknesses CWE-303
References
Metrics threat_severity

None

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'}

threat_severity

Moderate

Weaknesses
  • CWE-303

    Incorrect Implementation of Authentication Algorithm

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 10, 2026, 4:49 AM
Reserved
Sep 23, 2026, 9:58 AM
Status
Awaiting Analysis
Published
Nov 6, 2026, 6:16 AM
Modified
Nov 10, 2026, 5:18 AM
Severity
Moderate
Public date
Nov 5, 2026, 12:00 AM