Keycloak vulnerable to authorization bypass via incorrect URI comparison
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.
What to do
Upgrade org.keycloak:keycloak-policy-enforcer to version 26.0.10 or later, and org.keycloak:keycloak-services to version 26.6.4 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-policy-enforcer | < 26.0.10 | 26.0.10 |
| Java / Kotlin (Maven) | org.keycloak:keycloak-services | < 26.6.4 | 26.6.4 |
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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-1025- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-policy-enforcer, org.keycloak:keycloak-services- Disclosed
- 29.10.2026
- Updated
- 07.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-f5p5-6xmx-p252 - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-policy-enforcer
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.