keycloak-policy-enforcer is vulnerable to Authorization Bypass
81
CVE Score
High
Authorization Bypass
The Keycloak policy enforcer compares request URIs incorrectly when matching the configured access-denied page path. By placing that path inside a request URL as a path segment or query parameter, an authenticated user can make the enforcer treat protected requests as the public access-denied page. This bypasses all role, scope, and UMA permission checks and grants access to protected resources. The fix corrects the URI comparison so the access-denied path no longer disables enforcement.
Upgrade the org.keycloak:keycloak-policy-enforcer library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application uses the Keycloak policy enforcer with a configured access-denied page.
21.1.0 - 26.0.9
Fixed in 26.0.10keycloak-policy-enforcer is vulnerable to Authorization Bypass in versions 21.1.0 - 26.0.9.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.