# GHSA-F5P5-6XMX-P252: Keycloak vulnerable to authorization bypass via incorrect uri comparison

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Also known as: BIT-KEYCLOAK-2026-9800
- Published: 2026-10-29
- Modified: 2026-10-29

## Tracked as

- [CVE-2026-9800](https://cve.now/CVE-2026-9800.md): Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison

## Affected versions

- org.keycloak:keycloak-services (Maven): fixed in 26.6.4
- org.keycloak:keycloak-policy-enforcer (Maven): fixed in 26.0.10

## Description

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

## References

- https://github.com/keycloak/keycloak/security/advisories/GHSA-f5p5-6xmx-p252
- https://nvd.nist.gov/vuln/detail/CVE-2026-9800
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/errata/RHSA-2026:30083
- https://access.redhat.com/errata/RHSA-2026:30084
- https://access.redhat.com/errata/RHSA-2026:36002
- https://access.redhat.com/errata/RHSA-2026:36013
- https://access.redhat.com/errata/RHSA-2026:50846
- https://access.redhat.com/errata/RHSA-2026:50847
- https://access.redhat.com/security/cve/CVE-2026-9800
- https://bugzilla.redhat.com/show_bug.cgi?id=2482472
- https://github.com/keycloak/keycloak
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9800.json

Page: https://cve.now/GHSA-F5P5-6XMX-P252

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
