CVE-2026-4629
MEDIUMKeycloak: keycloak: privilege escalation through hardcoded role mapper injection
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-4629. PoCs published by HermesNA-1.
AI-analyzed exploit summary This repository contains an auto-generated stub module for CVE-2026-4629, a privilege escalation vulnerability in Keycloak. The code includes placeholder methods (`check`, `run`) with no actual exploit logic, only references to external sources for details.
Description
A flaw was found in Keycloak. A highly privileged user with `manage-clients` permission can exploit this vulnerability by injecting a hardcoded role mapper into any client. This action allows the user to bypass existing scope restrictions and inject the `realm-admin` role into generated tokens, resulting in privilege escalation and full administrative access to the realm.
Exploits (1)
This repository contains an auto-generated stub module for CVE-2026-4629, a privilege escalation vulnerability in Keycloak. The code includes placeholder methods (`check`, `run`) with no actual exploit logic, only references to external sources for details.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N