Skip to main content

Red Hat Keycloak EUVDEUVD-2026-30879

| CVE-2026-4630 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-19 redhat GHSA-c739-f6xw-6pv2
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege client in target realm
  2. Delivery
    Obtain valid resource UUID from peer Resource Server via disclosure or observation
  3. Exploit
    Craft direct HTTP request to Protection API /authz/protection/resource_set/{uuid}
  4. Execution
    Authorization check bypassed due to IDOR flaw
  5. Impact
    Read sensitive resource metadata (GET) or tamper with/delete resource (PUT/DELETE)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires: (1) an authenticated client with at least low-privilege access (CVSS PR:L confirmed), meaning a valid client credential or token within the target Keycloak realm; (2) the Keycloak Authorization Services feature must be enabled and the Protection API must be active on the target realm - deployments not using Authorization Services are not affected; (3) the realm must contain at least two distinct Resource Servers, as the vulnerability involves cross-server UUID access - single-Resource-Server realms are not exposed to the cross-boundary impact; (4) the attacker must know or successfully obtain the UUID of a resource belonging to a different Resource Server, which constitutes the High Attack Complexity (AC:H) condition. Exploitation is limited by the UUID acquisition requirement - brute-forcing 128-bit UUIDs is not feasible, so the attacker depends on a secondary disclosure vector. Authentication level is confirmed as low-privilege (PR:L) by the CVSS vector; unauthenticated access is not sufficient.

Impact

The CVSS base score of 6.8 (Medium-High) is meaningful but must be contextualized. The High Attack Complexity (AC:H) is the primary dampening factor: successful exploitation requires the attacker to already possess or successfully enumerate a resource UUID belonging to a different Resource Server in the same realm. UUIDs are not inherently secret but are also not trivially guessable, making brute-force enumeration impractical in most deployments - the attacker likely needs an information disclosure primitive or prior realm-level read access to obtain a valid UUID. The Low Privilege requirement (PR:L) confirms that any legitimate authenticated client can attempt the attack; no administrative role is required. Confidentiality and Integrity impacts are both High, meaning successful exploitation grants full read-modify-delete access to another server's protected resources - a meaningful blast radius in multi-tenant or microservices architectures sharing a Keycloak realm. No EPSS score was provided in the available intelligence, limiting probabilistic exploitation forecasting. There is no CISA KEV listing and no public POC identified, suggesting the vulnerability has not yet been weaponized at scale. Real-world risk is most acute in environments running multiple Resource Servers within a single Keycloak realm with Authorization Services enabled - a common microservices pattern. Single-Resource-Server deployments are not affected by the cross-server boundary issue.

Exploit ScenarioDerived

An attacker operating as a legitimate low-privileged client registered under Resource Server A within a multi-tenant Keycloak realm obtains the UUID of a sensitive resource registered by Resource Server B - for example, through an application-layer information disclosure or by observing token claims. The attacker sends a crafted GET request to the Keycloak Protection API endpoint using the obtained UUID, receiving the full resource definition in response without any authorization error. The attacker may then issue PUT requests to modify the resource's attributes or DELETE requests to remove it entirely, causing data tampering or denial of access for the legitimate Resource Server B. No public exploit code has been identified at time of analysis, but the attack is straightforward to implement manually once a valid cross-server UUID is in hand.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 19, 2026

Keycloak's Authorization Services Protection API is vulnerable to an Insecure Direct Object Reference (IDOR) flaw that allows authenticated low-privileged clients to perform unauthorized GET, PUT, and DELETE operations on resources owned by a different Resource Server within the same realm. By supplying a resource UUID belonging to a peer Resource Server - which a client can obtain through enumeration or disclosure - the attacker bypasses Keycloak's authorization enforcement entirely. The CVSS score of 6.8 (High) reflects confirmed confidentiality and integrity impact, though High complexity (AC:H) indicates the attacker must first acquire valid cross-server UUIDs. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

The primary remediation is to apply the patch released by Red Hat for the Red Hat Build of Keycloak, referenced in the security advisory at https://access.redhat.com/security/cve/CVE-2026-4630. An exact fixed version number is not confirmed in the currently available intelligence - consult the advisory and https://bugzilla.redhat.com/show_bug.cgi?id=2450245 directly for the patched release version before upgrading. As a compensating control pending patching, administrators should audit realm architecture: if multiple Resource Servers share a realm and Authorization Services are enabled, consider network-layer or API gateway controls that restrict Protection API calls so each Resource Server's service account can only invoke the endpoint for its own registered resources. Disabling Authorization Services entirely on Resource Servers that do not require UMA-based resource management removes the vulnerable code path but may break fine-grained authorization workflows. Restricting the Protection API endpoint (typically /realms/{realm}/authz/protection/resource_set) at the reverse-proxy or firewall level to known client IP ranges reduces external exposure but does not prevent exploitation by compromised internal clients.

Affected Packages

maven org.keycloak:keycloak-services fix: 26.6.2

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

Keycloak's Authorization Services expose a UMA (User-Managed Access) 2.0 Protection API that allows Resource Servers to register and manage protected resources programmatically. CWE-639 (Authorization Through User-Controlled Key) describes the root cause: the API accepts a resource UUID as a user-controlled identifier and performs operations on the identified object without verifying that the requesting client's Resource Server is the legitimate owner of that UUID. Since UUIDs are scoped at the realm level rather than the Resource Server level, a client registered under Resource Server A can supply a UUID belonging to Resource Server B and receive a valid API response. The affected product is identified by CPE cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*, indicating the wildcard version range covers Red Hat's enterprise distribution of Keycloak across all versions reported to NVD. The CVSS vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N confirms network reachability, low privilege (authenticated client), no scope change, and no availability impact - consistent with a data access and tampering scenario rather than service disruption.

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

Vendor (redhat) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in Keycloak. An authenticated client could exploit an Insecure Direct Object Reference (IDOR) vulnerability in the Authorization Services Protection API endpoint. By knowing or obtaining a resource's unique identifier (UUID) belonging to another Resource Server within the same realm, the client could bypass authorization checks. This allows the client to perform unauthorized GET, PUT, and DELETE operations on resources, leading to information disclosure and potential unauthorized modification or deletion of data.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 61 maven packages depend on org.keycloak:keycloak-services (28 direct, 33 indirect)

Ecosystem-wide dependent count for version 26.6.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
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-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

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

Vendor StatusVendor

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