VDB
Sign up
MEDIUM4.6

GHSA-w3p3-7cjg-vgfw

Keycloak allows unauthorized access to resources via uma permission ticket bypass

Quick fix

GHSA-w3p3-7cjg-vgfw — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.6.4</version> for org.keycloak:keycloak-services

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-services
Introduced in: 0Fixed in: 26.6.4
Fix# pom.xml: bump <version>26.6.4</version> for org.keycloak:keycloak-services

References