Improper Authorization Affecting org.keycloak:keycloak-authz-policy-common package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (17th 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 Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-19233602
  • published24 Aug 2026
  • disclosed11 Aug 2026
  • creditUnknown

Introduced: 11 Aug 2026

NewCVE-2026-19608  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

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

Overview

org.keycloak:keycloak-authz-policy-common is a KeyCloak AuthZ: Common Policy Providers

Affected versions of this package are vulnerable to Improper Authorization via the group policy provider in GroupPolicyProvider.java. An attacker can gain unauthorized access to protected resources by using a token or identity that carries only a group name, then matching a same-named group on a different path that the policy should not allow. The vulnerable evaluation logic accepts exact name matches when a claim does not encode the full group path, so a user in an unrelated homonymous group can satisfy a group-based policy intended for another group. This breaks fine-grained access control for resources protected by group policies in realms that contain duplicate group names under different branches.

CVSS Base Scores

version 4.0
version 3.1