---
id: "GHSA-gfv4-4vr2-rr4g"
kind: "vulnerability"
aliases: ["GHSA-gfv4-4vr2-rr4g"]
title: "Duplicate Advisory: Keycloak allows unauthorized access to resources via uma permission ticket bypass"
severity: "medium"
cvss: 4.6
epss: null
exploited: false
status: "withdrawn"
category: "package"
products: [{"name": "org.keycloak:keycloak-services", "fixed": [], "affected": "< 26.6.4", "ecosystem": "maven"}]
ecosystems: ["maven"]
tags: ["cwe-639", "java", "keycloak", "package", "self-hosted", "uma"]
not_affected_if: ["enforcing-policy-mode", "explicit-policy-on-resource-type", "no-owner-managed-access"]
published_at: "2026-06-25T18:30:41+00:00"
first_seen_at: "2026-10-29T16:39:02+00:00"
updated_at: "2026-10-29T16:40:00+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-gfv4-4vr2-rr4g", "first_seen_at": "2026-10-29T16:39:02+00:00"}]
---

# Duplicate Advisory: Keycloak allows unauthorized access to resources via uma permission ticket bypass

A Keycloak authorization flaw lets an authenticated user who holds a UMA permission ticket for one resource gain access to every resource of that type on the same resource server. The attacker gets unauthorized reads or changes to those resources.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- maven:org.keycloak:keycloak-services affected < 26.6.4 fixed ?

## How to check

- Check the Keycloak version with `kc.sh --version` or the `keycloak-services` jar version in your build
- Check whether the resource server uses PERMISSIVE policy enforcement mode in the Keycloak admin console under the client's Authorization settings
- Check whether typed resources have ownerManagedAccess enabled

## Fix

- Upgrade `org.keycloak:keycloak-services` to `26.6.4` or later
- This advisory was withdrawn as a duplicate of GHSA-w3p3-7cjg-vgfw; check that advisory for the authoritative fix details

## Timeline

- 2026-10-29T16:39:02+00:00 ghsa https://github.com/advisories/GHSA-gfv4-4vr2-rr4g

## From the sources

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-w3p3-7cjg-vgfw. This link is maintained to preserve external references.

### Original 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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
