ADVISORIES

GitHub Advisory Database

GHSA-w3p3-7cjg-vgfw

Keycloak allows unauthorized access to resources via uma permission ticket bypass

Details

Description

A flaw was found in org.keycloak.authorization. An authenticated user with a granted User-Managed Access (UMA) permission ticket for one resource can exploit this by using a specific permission request prefix to bypass per-resource access control. This allows the user to gain unauthorized access to all resources of that type within the same resource server, even if they do not have a ticket for those specific resources. This vulnerability requires the resource server to be configured in PERMISSIVE policy enforcement mode and affects typed resources with ownerManagedAccess enabled, where no explicit policy protects the resource type. The primary consequence is unauthorized information disclosure or modification of resources.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 26.6.4 (fixed in 26.6.4)

References