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.
Published: 2026-11-06
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: Account takeover through session hijacking
Action: Patch
AI Analysis

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.

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

History

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

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

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

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


Subscriptions

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

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-06T06:03:00.533Z

Reserved: 2026-09-24T13:55:54.852Z

Link: CVE-2026-97367

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-97367

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-97367 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses