Skip to main content

Red Hat Keycloak CVE-2026-4629

| EUVDEUVD-2026-40300 MEDIUM
Incorrect Privilege Assignment (CWE-266)
2026-06-30 redhat GHSA-m4j4-8chj-8g5f
6.5
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
8.7 HIGH

Scope changed to S:C because privilege escalation to realm-admin crosses the manage-clients authorization boundary, affecting all realm components beyond the attacker's granted scope.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Red Hat
6.5 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Analysis Generated
Jun 30, 2026 - 12:52 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Privilege escalation in Red Hat Build of Keycloak allows an operator holding the manage-clients permission to inject a hardcoded role mapper into any client configuration, causing the realm-admin role to appear in subsequently issued tokens. This effectively grants the attacker full administrative control over the entire Keycloak realm, overriding scope restrictions that are intended to prevent exactly this delegation boundary crossing. No active exploitation has been confirmed (not listed in CISA KEV), no public proof-of-concept has been identified at time of analysis, and no EPSS data was available; however, the high-impact nature of achieving realm-admin privileges makes this a meaningful insider or delegated-admin threat.

Technical ContextAI

Keycloak is a widely deployed open-source Identity and Access Management platform commonly used for SSO, OAuth2, and OIDC token issuance in enterprise environments. Clients in Keycloak are application registrations that receive scoped JWT tokens; role mappers are protocol mapper configurations that control which roles are embedded into those tokens. The manage-clients permission is a delegated administrative privilege in Keycloak intended to allow a limited operator to administer client registrations without granting full realm-admin access - a common pattern in multi-tenant deployments. The root cause, classified as CWE-266 (Incorrect Privilege Assignment), is that the platform fails to enforce scope boundaries when a role mapper is injected with a hardcoded reference to the realm-admin composite role. A properly implemented permission model should prevent a manage-clients holder from escalating to roles above their own privilege tier. The affected product is identified by CPE cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:* - all versions of the Red Hat distribution are indicated as affected.

RemediationAI

No vendor-released patch version has been independently confirmed from the available data. Monitor https://access.redhat.com/security/cve/CVE-2026-4629 for patch releases from Red Hat. In the interim, the most effective compensating control is to audit and restrict who holds the manage-clients permission across all realms - organizations practicing least privilege should ensure this role is held only by fully trusted administrators, narrowing the attack surface to the insider threat model. Where manage-clients must be delegated to lower-trust operators, consider implementing additional monitoring of protocol mapper configurations for unexpected role mapper entries referencing high-privilege roles such as realm-admin. Keycloak's built-in admin events log can be used to detect and alert on client-level mapper changes. There is no configuration setting to disable role mapper injection entirely without breaking legitimate use cases, so access restriction is the primary compensating control. Trade-off: restricting manage-clients delegation may reduce operational flexibility in multi-tenant deployments.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

CVE-2026-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

Vendor StatusVendor

Share

CVE-2026-4629 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy