Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Privilege assignment review
|
| Impact | The CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N) indicates network-accessible attack surface with low complexity but high privilege requirement, causing high confidentiality and integrity impact. The PR:H (privileged user required) element significantly constrains real-world risk compared to the 6.5 base score; exploitation requires an authenticated administrator account with manage-clients role, which narrows the attack surface to trusted insider threats or accounts compromised through separate vectors. The vulnerability does not impact availability (A:N), reducing SSVC technical impact severity compared to critical authentication bypass flaws. No KEV status was provided in the intelligence data, and no public exploit code availability was confirmed. The combination of high privilege barrier, missing public exploit confirmation, and limited scope (privilege escalation within existing admin context rather than unauthenticated access) suggests this should be prioritized below network-reachable flaws of similar CVSS scores but with lower authentication barriers. However, this remains a legitimate and significant privilege escalation for organizations with human admin turnover or potential insider threats in administrative roles. |
| Exploit ScenarioDerived | A rogue or compromised administrator account with manage-clients permission (typically granted for OAuth2 client management responsibilities) can exploit this misconfiguration to escalate privileges without additional authorization. The attacker can directly leverage the manage-clients permission to modify realm-level access control policies, create new administrative roles, assign themselves to higher-privilege roles, or modify existing user permissions-all without detect through standard admin permission change workflows. Since attack vector is network-based (AV:N) and requires no user interaction (UI:N), exploitation can be automated once an attacker gains or compromises a manage-clients privileged account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Keycloak allows authenticated administrators with manage-clients permission to escalate privileges to manage-permissions level, enabling unauthorized control over roles, users, and administrative functions within a realm. Red Hat Build of Keycloak, JBoss Enterprise Application Platform 8, and Red Hat Single Sign-On 7 are affected when admin permissions are enabled at the realm level. The vulnerability requires high-privilege authentication but carries medium CVSS severity (6.5) due to confidentiality and integrity impact without availability compromise.
RemediationAI
Upgrade Keycloak and dependent components (Red Hat Build of Keycloak, JBoss EAP 8, and Red Hat Single Sign-On 7) to patched versions as specified in the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-3121. For intermediate mitigation, restrict the assignment of manage-clients permission to only administrators who require it, enforce role-based access control (RBAC) to limit realm-level admin role grants, and implement audit logging for all permission changes and administrative role assignments to detect unauthorized privilege escalation attempts. Review all current administrator accounts and audit existing manage-clients permission grants against least-privilege principles.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This privilege escalation vulnerability (CWE-266: Improper Privilege Management) exists in Keycloak's authorization and permission model at the realm administration level. The vulnerability stems from a misconfiguration or design flaw where the manage-clients permission-intended to allow administrators to create, modify, and delete OAuth2/OIDC clients-is incorrectly treated as equivalent to manage-permissions, which should grant authorization to modify access control policies and role assignments. The affected products include Red Hat Build of Keycloak (all versions per CPE cpe:2.3:a:red_hat:red_hat_build_of_keycloak), Red Hat JBoss Enterprise Application Platform 8 (CPE cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_8), Red Hat JBoss Enterprise Application Platform Expansion Pack (CPE cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack), and Red Hat Single Sign-On 7 (CPE cpe:2.3:a:red_hat:red_hat_single_sign-on_7). The flaw manifests when realm-level admin permissions are explicitly enabled, creating an unintended privilege equivalence.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A flaw was found in Keycloak. An administrator with manage-clients permission can exploit a misconfiguration where this permission is equivalent to manage-permissions. This allows the administrator to escalate privileges and gain control over roles, users, or other administrative functions within the realm. This privilege escalation can occur when admin permissions are enabled at the realm level.
Blast Radius
ecosystem impact- 44 maven packages depend on org.keycloak:keycloak-services (16 direct, 28 indirect)
Ecosystem-wide dependent count for version 26.5.6.
Executive ViewAI
Organizations using A flaw should be aware of notable risk from CVE-2026-3121 rated CVSS 6.5. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
Same weakness CWE-266 – Incorrect Privilege Assignment
View allSame technique Privilege Escalation
View allVendor StatusVendor
Debian
Bug #1088287| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| open | - | - |
EUVD-2026-16307
GHSA-7xf9-4jfc-wgm4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB