Insufficient Granularity of Access Control Affecting org.keycloak:keycloak-services package, versions [7.0.0,26.6.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (29th 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 IDSNYK-JAVA-ORGKEYCLOAK-16873839
  • published24 May 2026
  • disclosed19 May 2026
  • creditUnknown

Introduced: 19 May 2026

CVE-2026-37981  (opens in a new tab)
CWE-1220  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 26.6.2 or higher.

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 Insufficient Granularity of Access Control via the user handler in the resource account service. An attacker can retrieve another user’s profile details by sending a GET request with an arbitrary value parameter for a resource they can access. The endpoint returns the target user’s identifier, username, first name, last name, and email without verifying that the requester owns the user record or has a permission request for that resource, exposing account data to unauthorized callers.

Note: While the fix was back-ported to version 26.4.12, this version has not been published to Maven Central

CVSS Base Scores

version 4.0
version 3.1