CVE-2026-4628
Java vulnerability analysis and mitigation

Overview

CVE-2026-4628 is an Improper Access Control vulnerability in Keycloak's User-Managed Access (UMA) resource_set endpoint, allowing authenticated attackers to bypass the allowRemoteResourceManagement=false restriction and perform unauthorized modifications to protected resources. The flaw was reported on March 23, 2026, and affects the Red Hat build of Keycloak. It carries a CVSS v3.1 base score of 4.3 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-284 (Improper Access Control). Specifically, access control checks are incompletely enforced on HTTP PUT operations to the /realms/{realm}/authz/protection/resource_set/{id} endpoint. When allowRemoteResourceManagement is set to false, the intent is to prevent remote modification of UMA resources; however, the enforcement logic fails to block PUT requests, allowing any authenticated user with valid credentials to update existing protected resources without requiring elevated privileges or user interaction (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation allows authenticated attackers to modify protected resource configurations in Keycloak deployments where allowRemoteResourceManagement=false is expected to enforce restrictions. The primary impact is on data integrity — resource attributes and access policies can be altered without authorization. There is no confidentiality or availability impact per the CVSS scoring, and the scope is limited to the affected Keycloak instance (Red Hat Advisory, Red Hat Bugzilla).

Exploitation steps

  1. Reconnaissance: Identify a Keycloak instance where allowRemoteResourceManagement=false is configured for a UMA-enabled authorization server realm.
  2. Obtain valid credentials: Acquire a valid user account with at least low-level access to the target Keycloak realm (e.g., a resource owner or registered client).
  3. Obtain an access token: Authenticate to Keycloak and retrieve a valid OAuth2/UMA access token for the target realm.
  4. Identify target resource: Enumerate existing UMA resources via the resource_set endpoint (GET /realms/{realm}/authz/protection/resource_set) to identify a resource ID to modify.
  5. Send malicious PUT request: Issue an HTTP PUT request to /realms/{realm}/authz/protection/resource_set/{id} with a modified resource payload (e.g., altered resource name, URIs, or scopes), using the obtained access token in the Authorization header.
  6. Confirm unauthorized modification: Verify that the resource has been updated despite allowRemoteResourceManagement=false being set, confirming the access control bypass (Red Hat Bugzilla).

Indicators of compromise

  • Network: Unexpected HTTP PUT requests to /realms/{realm}/authz/protection/resource_set/{id} from authenticated users or clients that should not have resource management permissions.
  • Logs: Keycloak server logs showing successful PUT operations on resource_set endpoints when allowRemoteResourceManagement=false is configured; audit log entries reflecting resource attribute changes by non-administrative accounts.
  • Application: Unexpected changes to UMA resource configurations (names, URIs, scopes, or owner attributes) in the Keycloak authorization server that were not initiated by administrators.

Mitigation and workarounds

Red Hat has released patches addressing this vulnerability; Keycloak 26.6.2 includes the fix (Keycloak Release, GitHub Release). Organizations should upgrade to Keycloak 26.6.2 or the patched Red Hat build of Keycloak as the primary remediation. As interim mitigations, administrators should audit resource_set endpoint access logs for suspicious PUT operations, implement network-level controls to restrict access to the UMA protection API to authorized clients only, and review current resource configurations for unauthorized changes (Red Hat Advisory).

Community reactions

The vulnerability received routine coverage from vulnerability tracking services and security aggregators shortly after disclosure on March 23, 2026. No significant researcher commentary, vendor blog posts, or notable social media discussion beyond automated CVE tracking posts (e.g., on Bluesky) has been identified. The moderate CVSS score and requirement for valid credentials have limited broader community attention (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-p279-2cqp-84jgCRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesJul 24, 2026
GHSA-fp43-vj7g-pg92HIGH7.5
  • Java logoJava
  • org.omnifaces:omnifaces
NoYesJul 24, 2026
GHSA-7ppr-r889-mcf2HIGH7.5
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.12
NoYesJul 24, 2026
GHSA-mhvj-jhpq-885vHIGH7.4
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.13
NoYesJul 24, 2026
GHSA-46q4-43ph-c6frHIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.12
NoYesJul 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management