Authorization Bypass Through User-Controlled Key Affecting org.keycloak:keycloak-services package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-22989575
  • published26 Nov 2026
  • disclosed28 Oct 2026
  • creditUnknown

Introduced: 28 Oct 2026

NewCVE-2026-118947  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the ResourceService handler for UMA resource registration. When remote resource management is enabled, an authenticated user with the uma_protection role can send a POST request containing the ID of another owner’s resource, causing Keycloak to modify that resource’s configuration, including its name, URIs, scopes, or attributes. The impact is unauthorized but limited to resource configuration changes, not broader Keycloak data.

Notes

  • The attack uses POST /realms/{realm}/authz/protection/resource_set with the target resource’s ID in the request body’s _id field; the attacker must know an existing resource ID.

CVSS Base Scores

version 4.0
version 3.1