CVE-2026-97367

Keycloak-services: keycloak-services: dcr azp and sid claim substitution allows account rest session takeover

Published Nov 6, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the Keycloak Account REST API where it incorrectly handles session identification. A malicious client owner can manipulate their own security tokens to point to a different user's active session. This allows the attacker to access and modify the victim's account information, potentially leading to a full account takeover by changing the recovery email and resetting the password.

Analysis

AI-generated

Technical impact

The vulnerability lies in Keycloak’s Account REST API where session identification is mismanaged. A malicious client owner can modify their own security tokens to reference another user’s active session, granting unauthorized access to the victim’s account data. This flaw can lead to complete account takeover, allowing the attacker to alter recovery email addresses and reset passwords.

Affected Systems

Keycloak services, particularly the Account REST API. No specific version information is given, so all installations of Keycloak that use this API are potentially affected.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity level. The EPSS score is not available, but the flaw’s presence in a widely used identity platform and its ability to hijack active sessions make it a notable risk. Although the vulnerability is not listed in the CISA KEV catalog, the likely attack vector involves an authenticated client with owner privileges manipulating azp and sid claims to redirect session context. Attackers with these capabilities can readily conduct exploitation without needing additional footholds.

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 release that contains the fix for incorrect session handling.
  • Restrict client owner privileges and review client configurations to ensure only necessary permissions are granted.
  • Enforce strict validation of azp and sid claims in the Account REST API to prevent token tampering.
  • Implement monitoring of token usage for anomalous claims or session redirection patterns.

Generated by OpenCVE AI on November 6, 2026 at 01:50 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': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.4::el9
cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Title keycloak-services: keycloak-services: DCR azp and sid claim substitution allows Account REST session takeover Keycloak-services: keycloak-services: dcr azp and sid claim substitution allows account rest session takeover
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 Keycloak Account REST API where it incorrectly handles session identification. A malicious client owner can manipulate their own security tokens to point to a different user's active session. This allows the attacker to access and modify the victim's account information, potentially leading to a full account takeover by changing the recovery email and resetting the password.
Title keycloak-services: keycloak-services: DCR azp and sid claim substitution allows Account REST session takeover
Weaknesses CWE-287
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:33 PM
Reserved
Sep 24, 2026, 1:55 PM
Status
Awaiting Analysis
Published
Nov 6, 2026, 6:16 AM
Modified
Nov 6, 2026, 6:18 PM
Severity
Moderate
Public date
Nov 5, 2026, 12:00 AM