Bug 2540080 (CVE-2026-97367) - CVE-2026-97367 keycloak-services: keycloak-services: DCR azp and sid claim substitution allows Account REST session takeover
Summary: CVE-2026-97367 keycloak-services: keycloak-services: DCR azp and sid claim su...
Keywords:
Status: NEW
Alias: CVE-2026-97367
Deadline: 2026-11-23
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-24 14:00 UTC by OSIDB Bzimport
Modified: 2026-11-05 15:04 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-24 14:00:21 UTC
A flaw was found in Keycloak's Account REST API session binding mechanism. The issue exists because the sid session ID claim is not included in the blocked claim list for Dynamic Client Registration DCR protocol mappers. A malicious DCR client owner can configure mappers to substitute the azp authorized party and sid claims in their access token with values derived from user-controlled profile fields. When the Account REST API processes this manipulated token, the identity token verification resolves the user session based on the provided sid without verifying that the subject sub claim in the token matches the user associated with that session. Consequently, the API returns the victim's session data. An attacker with low privileges can exploit this to read and write a victim's account profile, change the recovery email, and perform a full account takeover via password reset.


Note You need to log in before you can comment on or make changes to this bug.