---
id: "CVE-2026-9799"
kind: "vulnerability"
aliases: ["CVE-2026-9799", "GHSA-w3p3-7cjg-vgfw"]
title: "Keycloak allows unauthorized access to resources via uma permission ticket bypass"
severity: "medium"
cvss: 4.6
epss: 0.00294
exploited: false
status: "open"
category: "package"
products: [{"name": "org.keycloak:keycloak-services", "fixed": ["26.6.4"], "affected": "< 26.6.4", "ecosystem": "maven"}, {"name": "redhat build of keycloak", "fixed": ["26.4.13"], "affected": ">= 26.4, < 26.4.13", "ecosystem": "vendor"}, {"name": "redhat build of keycloak", "fixed": ["26.6.4"], "affected": ">= 26.6, < 26.6.4", "ecosystem": "vendor"}]
ecosystems: ["maven", "vendor"]
tags: ["cwe-639", "java", "keycloak", "package", "self-hosted", "uma"]
not_affected_if: ["enforcing-policy-mode", "explicit-policy-on-resource-type", "no-uma-resources"]
published_at: "2026-06-25T17:17:04+00:00"
first_seen_at: "2026-10-29T16:39:02+00:00"
updated_at: "2026-10-29T16:56:32+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-w3p3-7cjg-vgfw", "first_seen_at": "2026-10-29T16:39:02+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9799", "first_seen_at": "2026-10-29T16:56:32+00:00"}]
---

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

Keycloak's authorization code lets an authenticated user with a UMA permission ticket for one resource reach all resources of that type on the same resource server. The result is unauthorized reading or modification of resources the user was never granted.

_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 26.6.4
- vendor:redhat build of keycloak affected >= 26.4, < 26.4.13 fixed 26.4.13
- vendor:redhat build of keycloak affected >= 26.6, < 26.6.4 fixed 26.6.4

## How to check

- Check the Keycloak version with `kc.sh --version` or the image tag, and compare it to `26.6.4`.
- In the admin console, look at the resource server's policy enforcement mode; the flaw needs `PERMISSIVE`.
- Check whether typed resources have `ownerManagedAccess` enabled with no explicit policy protecting that resource type.

## Fix

- Keycloak `org.keycloak:keycloak-services` moves to `26.6.4` (fixed version from the advisory product range; affected below `26.6.4`).

## Timeline

- 2026-10-29T16:39:02+00:00 ghsa https://github.com/advisories/GHSA-w3p3-7cjg-vgfw
- 2026-10-29T16:56:32+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-9799

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/keycloak/keycloak/security-advisories/GHSA-w3p3-7cjg-vgfw
- [advisory] Maintainer's advisory: github.com https://github.com/keycloak/keycloak/security/advisories/GHSA-w3p3-7cjg-vgfw
- [advisory] Third-party advisory: access.redhat.com https://access.redhat.com/errata/RHSA-2026:30049
- [advisory] Third-party advisory: access.redhat.com https://access.redhat.com/errata/RHSA-2026:30050
- [advisory] Third-party advisory: access.redhat.com https://access.redhat.com/errata/RHSA-2026:30083
- [advisory] Third-party advisory: access.redhat.com https://access.redhat.com/errata/RHSA-2026:30084
- [advisory] Vendor advisory: access.redhat.com https://access.redhat.com/security/cve/CVE-2026-9799
- [advisory] Vendor advisory: bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2482471

## From the sources

### 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_
