---
id: "GHSA-79qw-g39g-mfxc"
kind: "vulnerability"
aliases: ["GHSA-79qw-g39g-mfxc"]
title: "Duplicate Advisory: Keycloak vulnerable to authorization bypass via incorrect uri comparison"
severity: "high"
cvss: 8.1
epss: null
exploited: false
status: "withdrawn"
category: "package"
products: [{"name": "org.keycloak:keycloak-services", "fixed": [], "affected": "< 26.6.4", "ecosystem": "maven"}, {"name": "org.keycloak:keycloak-policy-enforcer", "fixed": [], "affected": "< 26.0.10", "ecosystem": "maven"}]
ecosystems: ["maven"]
tags: ["cwe-1025", "java", "keycloak", "maven", "package", "policy-enforcer"]
not_affected_if: ["policy-enforcer-unused", "unauthenticated-only"]
published_at: "2026-06-25T18:30:41+00:00"
first_seen_at: "2026-10-29T16:39:02+00:00"
updated_at: "2026-10-29T16:39:52+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-79qw-g39g-mfxc", "first_seen_at": "2026-10-29T16:39:02+00:00"}]
---

# Duplicate Advisory: Keycloak vulnerable to authorization bypass via incorrect uri comparison

This advisory is a withdrawn duplicate of GHSA-f5p5-6xmx-p252. The original text says any logged-in user can bypass role, scope and UMA permission checks in Keycloak Policy Enforcer by putting the access-denied page path in a request URL.

_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 ?
- maven:org.keycloak:keycloak-policy-enforcer affected < 26.0.10 fixed ?

## How to check

- Check the Keycloak Maven dependency version for `org.keycloak:keycloak-services` and `org.keycloak:keycloak-policy-enforcer`
- See the duplicate advisory GHSA-f5p5-6xmx-p252 for the current status and fixed versions

## Fix

- `org.keycloak:keycloak-services`: fixed version unknown (sources list affected below 26.6.4)
- `org.keycloak:keycloak-policy-enforcer`: fixed version unknown (sources list affected below 26.0.10)

## Timeline

- 2026-10-29T16:39:02+00:00 ghsa https://github.com/advisories/GHSA-79qw-g39g-mfxc

## From the sources

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f5p5-6xmx-p252. This link is maintained to preserve external references.

### Original Description
A flaw was found in Keycloak Policy Enforcer. This vulnerability allows any authenticated user to bypass all authorization policies, including role, scope, and User-Managed Access (UMA) permission checks. By including the configured access-denied page path within a request URL, either as a path segment or a query parameter, an attacker can gain unauthorized access to protected resources.

---

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