Bug 2501724 (CVE-2026-16089) - CVE-2026-16089 keycloak-services: keycloak-services: Authorization codes can be retargeted to another client session
Summary: CVE-2026-16089 keycloak-services: keycloak-services: Authorization codes can ...
Keywords:
Status: NEW
Alias: CVE-2026-16089
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-07-17 14:01 UTC by OSIDB Bzimport
Modified: 2026-07-17 14:10 UTC (History)
28 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-17 14:01:00 UTC
A flaw was found in the token endpoint of keycloak-services. The authorization code payload does not persist the issuing client identifier, and the endpoint relies on a mutable component of the code string to select the client session. An attacker who registers a client in the same realm, establishes an SSO session with a victim user, and intercepts an authorization code issued to a different client can rewrite the client identifier in the code. By redeeming this modified code at the token endpoint, the attacker can obtain tokens for their own client associated with the victim's identity. Successful exploitation allows an attacker to impersonate a user to an attacker-controlled client and access the victim's data exposed to that client.


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