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.
Published: 2026-11-06
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Indefinite extension of service account access via repeated token exchanges
Action: Patch Now
AI Analysis

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.

Generated by OpenCVE AI on November 6, 2026 at 01:51 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

  • 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 yet.

History

Fri, 06 Nov 2026 06:15:00 +0000

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

Fri, 06 Nov 2026 00:15:00 +0000

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


Subscriptions

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

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-06T06:02:57.154Z

Reserved: 2026-09-23T09:58:21.704Z

Link: CVE-2026-96460

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-06T06:16:45.070

Modified: 2026-11-06T06:16:45.187

Link: CVE-2026-96460

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-05T00:00:00Z

Links: CVE-2026-96460 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T02:00:10Z

Weaknesses
  • CWE-303

    Incorrect Implementation of Authentication Algorithm