CVE-2026-4629: Incorrect Privilege Assignment in Red Hat Red Hat Build of Keycloak
CVE-2026-4629 is a vulnerability in Red Hat Build of Keycloak where a highly privileged user with the 'manage-clients' permission can inject a hardcoded role mapper into any client. This allows bypassing scope restrictions and injecting the 'realm-admin' role into tokens, leading to privilege escalation and full administrative access to the realm.
AI Analysis
Technical Summary
This vulnerability in Red Hat Build of Keycloak enables a user who already has the 'manage-clients' permission to escalate privileges by injecting a hardcoded role mapper into any client. This injection bypasses existing scope restrictions and allows the attacker to add the 'realm-admin' role to generated tokens. As a result, the attacker gains full administrative access to the realm, effectively escalating their privileges beyond intended limits. The CVSS score is 6.5, indicating a medium severity level. No patch or official remediation level is currently stated in the vendor advisory, and no known exploits are reported in the wild.
Potential Impact
An attacker with 'manage-clients' permission can escalate their privileges to full realm administrator by injecting the 'realm-admin' role into tokens. This results in complete administrative control over the realm, potentially compromising all realm resources and configurations.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-4629 for current remediation guidance. Until a fix is available, restrict 'manage-clients' permission to trusted users only to reduce risk.
CVE-2026-4629: Incorrect Privilege Assignment in Red Hat Red Hat Build of Keycloak
Description
CVE-2026-4629 is a vulnerability in Red Hat Build of Keycloak where a highly privileged user with the 'manage-clients' permission can inject a hardcoded role mapper into any client. This allows bypassing scope restrictions and injecting the 'realm-admin' role into tokens, leading to privilege escalation and full administrative access to the realm.
CVSS v3.1
Score 6.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Red Hat Build of Keycloak enables a user who already has the 'manage-clients' permission to escalate privileges by injecting a hardcoded role mapper into any client. This injection bypasses existing scope restrictions and allows the attacker to add the 'realm-admin' role to generated tokens. As a result, the attacker gains full administrative access to the realm, effectively escalating their privileges beyond intended limits. The CVSS score is 6.5, indicating a medium severity level. No patch or official remediation level is currently stated in the vendor advisory, and no known exploits are reported in the wild.
Potential Impact
An attacker with 'manage-clients' permission can escalate their privileges to full realm administrator by injecting the 'realm-admin' role into tokens. This results in complete administrative control over the realm, potentially compromising all realm resources and configurations.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-4629 for current remediation guidance. Until a fix is available, restrict 'manage-clients' permission to trusted users only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-03-23T08:02:49.337Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-4629","vendor":"Red Hat"}]
Threat ID: 6a43b89827e9c79719c1b3ee
Added to database: 06/30/2026, 12:37:44 UTC
Last enriched: 06/30/2026, 12:51:29 UTC
Last updated: 06/30/2026, 12:51:29 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.