Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as user with uma_protection role
-
DeliverySubmit policy creation request with victim's resource identifiers
-
ExploitBypass UMA policy validation checks
-
ExecutionObtain Requesting Party Token for victim resources
-
ImpactAccess or modify victim-owned resources
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V5 - File Handling Directory indexing prevention
|
| Exploitation Conditions | Attacker must be an authenticated Keycloak user with the uma_protection role. No victim interaction required. Requires User-Managed Access (UMA) policy feature enabled. Remote network access. Affects Keycloak deployments using UMA resource authorization. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) indicates a network-exploitable vulnerability requiring low attack complexity and low-level authentication (PR:L), with no user interaction needed. The High confidentiality and integrity impact (C:H/I:H) combined with network accessibility makes this a serious access control bypass. However, the requirement for authenticated access with a specific role (uma_protection) significantly constrains the attack surface compared to unauthenticated vulnerabilities. The CISA KEV inclusion confirms this vulnerability is actively exploited in real-world environments, elevating it to critical priority for organizations running Keycloak. The scope unchanged (S:U) parameter indicates attacks remain within the vulnerable component's security context, somewhat limiting lateral movement potential. Real-world risk is HIGH for multi-tenant Keycloak deployments where multiple organizations or projects share a single instance, as attackers can cross tenant boundaries to access sensitive authentication and authorization data. Organizations should prioritize patching based on their deployment architecture, with shared/multi-tenant environments facing immediate risk and single-tenant deployments having slightly lower urgency. |
| Exploit ScenarioDerived | An attacker who has compromised credentials for a low-privilege Keycloak user account with the uma_protection role authenticates to the target Keycloak instance. They identify resource identifiers belonging to high-value victim users through enumeration or social engineering. The attacker crafts a malicious UMA policy creation request that includes these victim resource identifiers in the request body while specifying their own resource in the URL path. Due to the authorization-before-parsing flaw, Keycloak validates the attacker's ownership of the URL-specified resource but fails to validate ownership of the body-embedded resource identifiers. The policy is created successfully, granting the attacker permissions to victim resources. The attacker then requests a Requesting Party Token (RPT) using the compromised policy, obtaining a valid OAuth token for accessing protected resources belonging to other users. With this RPT, the attacker can exfiltrate sensitive authentication data, modify victim user configurations, or gain access to downstream applications that trust Keycloak tokens, effectively achieving horizontal privilege escalation across the identity management infrastructure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Authenticated users with uma_protection role in Red Hat Keycloak can bypass User-Managed Access policy validation to gain unauthorized access to victim-owned resources. The vulnerability (confirmed actively exploited - CISA KEV) enables attackers to inject arbitrary resource identifiers during policy creation, obtaining Requesting Party Tokens for resources they do not own. With CVSS 8.1 (High), network-accessible attack vector, and low complexity, this represents a significant access control bypass in enterprise identity management deployments. EPSS data and public exploit status not confirmed from available data.
RemediationAI
Organizations running affected versions of Red Hat Build of Keycloak should immediately consult the Red Hat Security advisory at https://access.redhat.com/security/cve/CVE-2026-4636 and the associated Bugzilla ticket at https://bugzilla.redhat.com/show_bug.cgi?id=2450251 for specific patched versions and upgrade instructions. Vendor-released patch details including exact fix versions should be obtained from these authoritative sources. As an interim mitigation while planning upgrades, organizations should audit assignments of the uma_protection role and restrict it to only trusted administrative users, implement enhanced monitoring for UMA policy creation activities to detect anomalous resource identifier patterns, and review existing UMA policies for signs of unauthorized resource references. Network segmentation and access controls should be tightened around Keycloak instances to limit exposure. Given the confirmed active exploitation status, patching should be prioritized within emergency change windows rather than standard maintenance cycles.
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 vulnerability affects Red Hat Build of Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak), an open-source identity and access management solution. The flaw stems from CWE-551 (Incorrect Behavior Order: Authorization Before Parsing and Canonicalization), where the application fails to properly validate resource ownership during User-Managed Access (UMA) policy creation. UMA is an OAuth-based access control protocol that allows resource owners to control access to their protected resources. The vulnerability occurs in the policy creation endpoint where an authenticated user with the uma_protection role can manipulate policy requests to reference resource identifiers owned by other users, despite the URL path specifying attacker-owned resources. This represents a classic confused deputy problem where the authorization service trusts the client-provided resource identifiers without proper validation against the authenticated user's ownership context, leading to privilege escalation across tenant boundaries.
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:L/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
Lifecycle Timeline
2DescriptionCVE.org
A flaw was found in Keycloak. An authenticated user with the uma_protection role can bypass User-Managed Access (UMA) policy validation. This allows the attacker to include resource identifiers owned by other users in a policy creation request, even if the URL path specifies an attacker-owned resource. Consequently, the attacker gains unauthorized permissions to victim-owned resources, enabling them to obtain a Requesting Party Token (RPT) and access sensitive information or perform unauthorized actions.
Blast Radius
ecosystem impact- 54 maven packages depend on org.keycloak:keycloak-services (26 direct, 28 indirect)
Ecosystem-wide dependent count for version 26.5.7.
Executive ViewAI
Red Hat Keycloak deployments with User-Managed Access (UMA) enabled face a critical access control bypass where authenticated users can manipulate policy validation to gain unauthorized access to resources owned by other users. This vulnerability directly threatens the integrity of identity and access management across all dependent applications, affecting any organization relying on Keycloak for resource authorization decisions.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Completely disable UMA functionality if not business-critical; (2) Implement strict RBAC by removing uma_protection role from all non-admin users; (3) Deploy enhanced logging and alerting on Keycloak policy creation and token issuance events; (4) Enforce additional authorization checks at application layer independent of Keycloak UMA decisions; (5) Restrict network access to Keycloak to authorized internal subnets only; (6) Implement real-time monitoring for anomalous resource access patterns.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
Related Vulnerabilities in Keycloak Authentication and Authorization Bypass
View all 5More 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
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
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-18213
GHSA-f2hx-5fx3-hmcv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB