Incorrect authorization in Keycloak - #VU167881
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote privileged user to bypass administrative role restrictions and potentially escalate privileges.
The vulnerability exists due to improper authorization in the OIDC hardcoded role mapper when applying custom role mappings under Fine-Grained Admin Permissions v2. A remote privileged user can abuse the mapper's role handling to retain roles that the administrative role filter would otherwise remove.